Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal corrupted if keystroke help is open during subprocess #312

Open
annettejanewilson opened this issue Oct 24, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@annettejanewilson
Copy link

Describe the bug
If the keystroke help pane (from pressing ?) is open when a subprocess is spawned, then on completion of the subprocess, the terminal layout is corrupted.

To Reproduce
Steps to reproduce the behavior:

  1. Start gh dash.
  2. Switch to any tab with PRs listed.
  3. Press ? to show the keystroke help panel.
  4. Press d to show a diff of the current PR.
  5. Press q to quit from the diff viewer.
  6. Press ? to hide the keystroke help panel.

Expected behavior

  • The window shown after step 5 should be the same as the one shown after step 3 - the list of PRs with a help pane at the bottom.
  • The window shown after step 6 should be the same as after step 2 - the list of PRs with no help pane.

Actual behaviour

  • The window shown after step 5 is missing the top 9 or so lines, including the tabs, the search box, the column headings and at least the first PR in the list.
  • The window shown after step 6 continues to be missing the top 9 or so lines. While the help pane disappears, some text from the bottom of the pane is not immediately erased.

Desktop

  • OS: macOS Ventura 13.5
  • Terminal: iTerm2

I am not using tmux, screen or similar tools.

@annettejanewilson annettejanewilson added the bug Something isn't working label Oct 24, 2023
@danjones1618
Copy link

I'm also getting this issue

@lomby92
Copy link

lomby92 commented Apr 30, 2024

Same issue for me.

OS: Fedora Linux 38 (Sway)
Kernel: 6.8.7-100
Shell: zsh
WM: sway
Terminal: foot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants