From 41ed01632f227618e432df0e985cdde267b3bcb8 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Tue, 24 Jul 2001 00:21:03 +0000 Subject: [PATCH] do_mark() - Temporarily disable cursorpos when enabled to be able to see the mark (un)set message (Ken Tyler) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@739 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ nano.c | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9176f939..0eac18aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ CVS code - - nano.c: main() - Change the getop option to 'F' (David Lawrence Ramsey) + do_mark() + - Temporarily disable cursorpos when enabled to be able to see + the mark (un)set message (Ken Tyler). - nanorc.sample - Typo fixes and updates (David Lawrence Ramsey) - files.c: diff --git a/nano.c b/nano.c index 819aee1b..6d5c34c6 100644 --- a/nano.c +++ b/nano.c @@ -608,6 +608,7 @@ int do_mark(void) edit_refresh(); } #endif + SET(DISABLE_CURPOS); return 1; } -- 2.39.5