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.)master
parent
3b79c7168e
commit
0f79a42333
|
@ -711,7 +711,7 @@ void shortcut_init(void)
|
||||||
|
|
||||||
#ifdef ENABLE_BROWSER
|
#ifdef ENABLE_BROWSER
|
||||||
add_to_funcs(do_exit, MBROWSER,
|
add_to_funcs(do_exit, MBROWSER,
|
||||||
exit_tag, WITHORSANS(exitbrowser_gist), TOGETHER, VIEW);
|
close_tag, WITHORSANS(exitbrowser_gist), TOGETHER, VIEW);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
add_to_funcs(do_writeout_void, MMAIN,
|
add_to_funcs(do_writeout_void, MMAIN,
|
||||||
|
|
Loading…
Reference in New Issue