-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[interactive] Ignore SIGWINCH in the shell.
The line editor is the only thing that needs to know the width, so I think we should let it handle the problem. Unfortunately GNU readline is not what we want, but that's a separate issue. This means the core/comp_ui.py now doesn't adjust when the window is resized. But that dosn't make the shell unusuable. We should revisit it later. Apparently fish and zsh do something different anyway -- they REDRAW on SIGWINCH. They don't merely update the width. - Added a test in test/interactive.py. - Addresses #1067
- Loading branch information
Andy C
committed
Jan 22, 2022
1 parent
d958daf
commit 3ab4e69
Showing
3 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters