nano

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

commit eb5e08fb9814c28472983f7be38dbedff68436d7
parent 6533e235e80ae4b2624b7c934ce989e029f669de
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 12 Nov 2005 20:04:18 +0000

cosmetic fixes


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

Diffstat:
Msrc/browser.c | 2+-
Msrc/help.c | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/browser.c b/src/browser.c @@ -234,7 +234,7 @@ char *do_browser(char *path, DIR *dir) free_chararray(filelist, numents); goto change_browser_directory; - /* Refresh the screen. */ + /* Redraw the screen. */ case NANO_REFRESH_KEY: total_redraw(); break; diff --git a/src/help.c b/src/help.c @@ -117,9 +117,10 @@ void do_help(void) } if (kbinput == NANO_REFRESH_KEY) + /* Redraw the screen. */ total_redraw(); else { - if (line == old_line && kbinput != ERR) + if (kbinput != ERR && line == old_line) goto skip_redisplay; blank_edit();