1
1

browser: say "Close" instead of "Exit" for the ^X shortcut

When multiple buffers are open, the edit window says "Close" for ^X
instead of "Exit" (when one buffer is open).  In the help viewer ^X
says "Close".  Apparently the idea is that ^X should say "Exit" only
when pressing ^X leads to exiting from nano.  Pressing ^X in the file
browser does not exit from nano, so make it say "Close" instead.

(The help viewer says "Close" since version 2.8.6, commit 934a2192.)
Этот коммит содержится в:
Benno Schulenberg 2018-12-03 09:54:30 +01:00
родитель 3b79c7168e
Коммит 0f79a42333

Просмотреть файл

@ -711,7 +711,7 @@ void shortcut_init(void)
#ifdef ENABLE_BROWSER
add_to_funcs(do_exit, MBROWSER,
exit_tag, WITHORSANS(exitbrowser_gist), TOGETHER, VIEW);
close_tag, WITHORSANS(exitbrowser_gist), TOGETHER, VIEW);
#endif
add_to_funcs(do_writeout_void, MMAIN,