cosmic-term icon indicating copy to clipboard operation
cosmic-term copied to clipboard

Terminal captures input outside of context

Open jrushlow opened this issue 1 year ago • 1 comments
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.

  1. In the terminal, `git commit -m "blah blah blah"
  2. Window pops up asking git credentials (signing key)
  3. enter the password
  4. key-press enter
  5. oops, wrong password, repeat steps 3 & 4
  6. success! back in the terminal

Except now cosmic terminal shows an empty line below the prompt && the literal 1 on another line.

image

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

jrushlow avatar Jun 11 '24 13:06 jrushlow

This may be a duplicate of #153 - feel free to close if the information here isn't of any use.

jrushlow avatar Jun 11 '24 15:06 jrushlow