nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 907725fde82a2c50c56dfc5c1bc26395dccf03e5
parent 8781fc62cb3a086f5dad55a3a07e5f87f949fd5b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Fri, 12 Nov 2004 00:09:20 +0000

revert the handle_sigwinch() change, as other breakage occurs when
resizing or continuing from a suspend after a justify and it can't be
properly fixed without a rewrite


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2092 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 4----
Msrc/nano.c | 4+---
2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -227,10 +227,6 @@ CVS code - - Make goal a ssize_t instead of an int, since fill is now a ssize_t, and the position at which a line is broken can be greater than COLS. (DLR) - handle_sigwinch() - - Call shortcut_init(FALSE) defore redisplaying the main list, - so that "UnJustify" isn't erroneously displayed after we - resize or after we continue from a suspend. (DLR) main() - Tweak the command line parsing routine so that multiple +LINE flags are properly interpreted in multibuffer mode. (DLR) diff --git a/src/nano.c b/src/nano.c @@ -3089,10 +3089,8 @@ void handle_sigwinch(int s) * dimensions. */ window_init(); - /* Redraw the contents of the windows that need it, and display the - * shortcut list with UnCut. */ + /* Redraw the contents of the windows that need it. */ blank_statusbar(); - shortcut_init(FALSE); display_main_list(); total_refresh();