commit f9134af504e8764b28b7ba49e979d3c3dd7e9356
parent 10d9742c11ca089da69b85faaad9e1b83c31bc62
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 7 Oct 2018 10:38:11 +0200
docs, usage: mention that --showcursor now covers help texts too
Diffstat:
4 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/doc/nano.1 b/doc/nano.1
@@ -181,8 +181,9 @@ work properly. You should only need to use this option if Backspace
acts like Delete on your system.
.TP
.BR \-g ", " \-\-showcursor
-Make the cursor visible in the file browser, putting it on the
-highlighted item. Useful for braille users.
+Make the cursor visible in the file browser (putting it on the
+highlighted item) and in the help viewer. Useful for braille users
+and people with poor vision.
.TP
.BR \-h ", " \-\-help
Show a summary of the available command-line options and exit.
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -289,8 +289,9 @@ acts like Delete on your system.
@item -g
@itemx --showcursor
-Make the cursor visible in the file browser, putting it on the
-highlighted item. Useful for braille users.
+Make the cursor visible in the file browser (putting it on the
+highlighted item) and in the help viewer. Useful for braille users
+and people with poor vision.
@item -h
@itemx --help
@@ -857,8 +858,9 @@ Use this color combination for selected text.
@xref{@code{set functioncolor}} for valid color names.
@item set showcursor
-Put the cursor on the highlighted item in the file browser, to aid
-braille users.
+Put the cursor on the highlighted item in the file browser, and show
+the cursor in the help viewer, to aid braille users and people with
+poor vision.
@item set smarthome
Make the Home key smarter. When Home is pressed anywhere but at the
diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in
@@ -136,8 +136,9 @@
## Do extended regular expression searches by default.
# set regexp
-## Put the cursor on the highlighted item in the file browser;
-## useful for people who use a braille display.
+## Put the cursor on the highlighted item in the file browser, and show
+## the cursor in the help viewer; useful for people who use a braille
+## display and people with poor vision.
# set showcursor
## Make the Home key smarter. When Home is pressed anywhere but at the
diff --git a/src/nano.c b/src/nano.c
@@ -857,7 +857,7 @@ void usage(void)
N_("Fix Backspace/Delete confusion problem"));
#ifdef ENABLE_BROWSER
if (!ISSET(RESTRICTED))
- print_opt("-g", "--showcursor", N_("Show cursor in file browser"));
+ print_opt("-g", "--showcursor", N_("Show cursor in file browser & help text"));
#endif
print_opt("-h", "--help", N_("Show this help text and exit"));
#ifndef NANO_TINY