From baa2be3217784a5e59d7a31732bf8b7155a9450e Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 7 Jan 2020 20:25:31 +0100 Subject: [PATCH] tweaks: improve a comment by indirectly referring to the ncurses docs See https://invisible-island.net/ncurses/ncurses-intro.html#xterm. --- src/nano.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nano.c b/src/nano.c index 3f19d0c2..ecb89c5f 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1317,8 +1317,7 @@ void regenerate_screen(void) /* Ensure that firstcolumn is the starting column of its chunk. */ ensure_firstcolumn_is_aligned(); - /* Do the equivalent of what Minimum Profit does: leave and immediately - * reenter curses mode. */ + /* Do as the website suggests: leave and immediately reenter curses mode. */ endwin(); doupdate();