xgetline.in: Turn on mnemonics in the prompt label.
[xtoys] / xgetline.1
index 22757db..99a4db4 100644 (file)
@@ -44,7 +44,7 @@ shell command attached to a hotkey:
 .RS 5
 .ft B
 .nf
-cmd=$(xgetline -t "Shell command in window" -p "Command:") &&
+cmd=$(xgetline -t "Shell command in window" -p "_Command:") &&
   xterm -T "$cmd" -e sh -c "$cmd"
 .ft R
 .fi
@@ -92,7 +92,12 @@ not type an entry in directly.
 .BI "\-p, \-\-prompt " prompt
 Sets the prompt string in the dialogue box to
 .IR prompt .
-The default is to have no prompt string.
+If the prompt string contains an underscore character
+.RB ` _ ',
+then the following character appears underlined; pressing Alt and the
+leftmost underlined character (the `mnemonic') moves the input focus to
+the entry widget.  If you want a literal underscore, type two
+consecutive underscores.  The default is to have no prompt string.
 .TP 5
 .BI "\-t, \-\-title " title
 Sets the title of the dialogue box to