Commit 68fe82b
authored
Reproducer (for a terminal with fullscreen support):
$ <F11> # Maximize terminal to occupy entire screen
$ vim # Open vim editor
: <F11> # Unmaximize while in vim
: q! # Quit vim
$ /b<Tab><Tab> # Attempt to obtain completion list; triggers bug
$ kill -WINCH $$
$ /b<Tab><Tab> # List works again after SIGWINCH
edit.c:
- Readd removed calls to sh_winsize() to fix the regression
in the tab completion menu. The purpose of these is to
obtain the correct window size in cases where ksh does
not get sent SIGWINCH after the window size changes.
Perhaps this is 'inefficient', but correct behavior
is better (assuming such efficiency even matters that
much in the editor modes).
1 parent cc5e069 commit 68fe82b
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
250 | 252 | | |
251 | 253 | | |
252 | 254 | | |
| |||
624 | 626 | | |
625 | 627 | | |
626 | 628 | | |
| 629 | + | |
627 | 630 | | |
628 | 631 | | |
629 | 632 | | |
| |||
0 commit comments