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:
Start gh dash.
Switch to any tab with PRs listed.
Press ? to show the keystroke help panel.
Press d to show a diff of the current PR.
Press q to quit from the diff viewer.
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.
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:
?
to show the keystroke help panel.d
to show a diff of the current PR.q
to quit from the diff viewer.?
to hide the keystroke help panel.Expected behavior
Actual behaviour
Desktop
I am not using tmux, screen or similar tools.