nano

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

commit 45417c76f3b5f1f064b0ef0fbe16a85ab8086605
parent cfa1338fb02666637310966a29ad7d5e7bf69505
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Mon, 23 Jun 2014 20:30:23 +0000

Giving audible feedback when flipping the new buffer to off
is not allowed in view mode.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5018 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 2++
Msrc/files.c | 2++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -10,6 +10,8 @@ the description of 'gototext' (not being about the file browser). * doc/syntax/nanorc.nanorc: Show Ins and Del as valid rebindable keys. * src/help.c (do_help): Normalize the indentation. + * src/files.c (do_insertfile): Give audible feedback when flipping + the new buffer to off is not allowed in view mode. 2014-06-22 Benno Schulenberg <bensberg@justemail.net> * src/browser.c (parse_browser_input), src/help.c (parse_help_input): diff --git a/src/files.c b/src/files.c @@ -1080,6 +1080,8 @@ void do_insertfile( /* Don't allow toggling if we're in view mode. */ if (!ISSET(VIEW_MODE)) TOGGLE(MULTIBUFFER); + else + beep(); continue; } #endif