cosmic-term
cosmic-term copied to clipboard
Terminal captures input outside of context
trafficstars
Note - using zsh not sure if this is affected by other env's
During context switching, the terminal will capture "some" input / exit codes? and then attempt to render the input when switching back to the terminal.
E.g.
- In the terminal, `git commit -m "blah blah blah"
- Window pops up asking git credentials (
signing key) - enter the password
- key-press
enter - oops, wrong password, repeat steps 3 & 4
- success! back in the terminal
Except now cosmic terminal shows an empty line below the prompt && the literal 1 on another line.
As an unintended side effect, this behavior will back me out of the present PWD to a higher level dir, which I believe is due to the key-binds I have setup in zsh. E.g. entering 1 goes up 1 level.
I believe this is related to #219
This may be a duplicate of #153 - feel free to close if the information here isn't of any use.