jimhester / per-directory-history

Per directory history for zsh, as well as global history, and the ability to toggle between them with ^G.
zlib License
251 stars 36 forks source link

Toggle message is chopped if current line is being edited #2

Closed jimhester closed 2 years ago

jimhester commented 11 years ago

This seems to be a bug in zsh rather than this plugin, but I would need to do more research to figure out if there is a workaround.

To produce type some text, then toggle the history, the toggle message will be chopped by some random amount, happens with both multi-line and single line prompts.

CyberShadow commented 4 years ago

Clearing the line first worked for me: https://github.com/CyberShadow/per-directory-history/commit/7cde5cde6f5813ce5f364d6699cec3dd39c471c6