jasonbio / reddit-shell

web based linux shell emulator that allows you to browse reddit via command line
https://redditshell.com/
GNU General Public License v3.0
434 stars 38 forks source link

Make prompt in echo command the same color as normal prompt #10

Closed jcubic closed 6 years ago

jcubic commented 7 years ago

If you type something the current prompt get echoed but it's gray not blue. You can fix that by modifiing set_prompt call:

term.set_prompt('[[b;#2FD0C3;]' + auth_user+'@reddit:~$ ' + ']');

then when you type enter you'll get the same style (and css will not be needed).

jasonbio commented 6 years ago

I believe this is fixed by the latest commit which updates jQuery Terminal to the latest version. Please feel free to verify that this resolves your issue

jcubic commented 6 years ago

You need to update css as well since now it show textarea that was used for resize event in older Chrome and other browsers that don't support resizeObserver.

jasonbio commented 6 years ago

Thanks for letting me know, this is addressed in 0fc381d