X-Git-Url: https://git.distorted.org.uk/~mdw/xtoys/blobdiff_plain/aac5a363bd1bc5423a00ddc31a57b64e3bce80dd..583efdd398e53f1c84dd6591b73d044a10bd6a85:/xgetline.1 diff --git a/xgetline.1 b/xgetline.1 index 22757db..99a4db4 100644 --- a/xgetline.1 +++ b/xgetline.1 @@ -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