riscy / shx-for-emacs

An Emacs shell-mode (and comint-mode) extension that enables displaying small plots and graphics and lets users write shell commands in Emacs Lisp.
GNU General Public License v3.0
218 stars 10 forks source link

History commands for shx in a new session #2

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

When opening a new shell session, it seems that shx never recalls the history of command lines entered before by pressing "Ctrl" and up, down arrow keys. The only command that I can get is :eval (shx-wordwrap 90)

Hence, I'd like to ask if shx supports such feature?

Thanks!

riscy commented 7 years ago

It looks like you've found a bug. I'll fix this in the next release. Thank you. :)

If you want a quick fix, removing the line shx--restore-kept-commands from the shx--activate function should sort things out.

ghost commented 7 years ago

Thanks for the suggestion! It works like a charm now! :+1:

riscy commented 7 years ago

All patched up in the latest release. Thanks again!