nano

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

commit 57390cff04dea43792f4ab3b52bc7bd442af8f90
parent 4e637cd1c772f0e3a9c039ea43ac9f51f54d0fcf
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 29 May 2019 11:24:25 +0200

tweaks: exclude another bug check from the tiny version

Diffstat:
Msrc/winio.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -2211,11 +2211,13 @@ void statusline(message_type importance, const char *msg, ...) (lastmessage == MILD && importance == HUSH)) return; +#ifndef NANO_TINY /* Curses mode shouldn't be off when trying to write to the status bar. */ if (isendwin()) { fprintf(stderr, "Out of curses -- please report a bug\n"); return; } +#endif /* If the ALERT status has been reset, reset the counter. */ if (lastmessage == HUSH)