nano

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

commit 6c80b976941bd9f08d52faa1dab9ee4a1e519151
parent e6b087bcae38a16ffc770fcc714764494da3910d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 19 May 2025 10:39:17 +0200

feedback: suppress "Removed anchor" when the mini bar is hidden

Showing only "Placed anchor" and not "Removed anchor" makes it possible
to notice without looking at the status bar whether an anchor has been
placed or removed.  (The mini bar is not just a different interface but
is also about minimizing status-bar output.)

Diffstat:
Msrc/search.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/search.c b/src/search.c @@ -1012,7 +1012,7 @@ void put_or_lift_anchor(void) if (openfile->current->has_anchor) statusline(REMARK, _("Placed anchor")); else - statusline(REMARK, _("Removed anchor")); + statusline(HUSH, _("Removed anchor")); } }