nano

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

commit 121dd596d940308d64213e3a8d7ffbc3904c945e
parent ea5e199d3b7bcb323c35fbcfb795af539e8e65f7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 10 Jul 2025 12:00:21 +0200

tweaks: swap two symbolic menu names, for giggles

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

diff --git a/src/help.c b/src/help.c @@ -563,7 +563,7 @@ void show_help(void) bottombars(oldmenu); #ifdef ENABLE_BROWSER - if (oldmenu & (MBROWSER|MWHEREISFILE|MGOTODIR)) + if (oldmenu & (MBROWSER|MGOTODIR|MWHEREISFILE)) browser_refresh(); else #endif diff --git a/src/winio.c b/src/winio.c @@ -3469,7 +3469,7 @@ void full_refresh(void) * the contents of the edit window, and the bottom bars. */ void draw_all_subwindows(void) { - if (currmenu & ~(MBROWSER|MWHEREISFILE|MGOTODIR)) + if (currmenu & ~(MBROWSER|MGOTODIR|MWHEREISFILE)) titlebar(title); #ifdef ENABLE_HELP if (inhelp) { @@ -3478,7 +3478,7 @@ void draw_all_subwindows(void) } else #endif #ifdef ENABLE_BROWSER - if (currmenu & (MBROWSER|MWHEREISFILE|MGOTODIR)) + if (currmenu & (MBROWSER|MGOTODIR|MWHEREISFILE)) browser_refresh(); else #endif