Rename and document --predict-overwrite.
This commit is contained in:
@@ -72,6 +72,11 @@ See
|
|||||||
Controls local echo as described in
|
Controls local echo as described in
|
||||||
.BR mosh (1).
|
.BR mosh (1).
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B MOSH_PREDICTION_OVERWRITE
|
||||||
|
Controls local echo insert/overwrite as described in
|
||||||
|
.BR mosh (1).
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B MOSH_TITLE_NOPREFIX
|
.B MOSH_TITLE_NOPREFIX
|
||||||
See
|
See
|
||||||
|
|||||||
+12
@@ -142,6 +142,18 @@ Synonym for \-\-predict=always
|
|||||||
.B \-n
|
.B \-n
|
||||||
Synonym for \-\-predict=never
|
Synonym for \-\-predict=never
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B \-\-predict\-overwrite\fP
|
||||||
|
When prediction is enabled, do not insert speculative local echo
|
||||||
|
before existing text, but overwrite it instead.
|
||||||
|
|
||||||
|
The MOSH_PREDICTION_OVERWRITE environment variable also enables this
|
||||||
|
if its value is 'yes'.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B \-o
|
||||||
|
Synonym for \-\-predict\-overwrite
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-\-family=inet
|
.B \-\-family=inet
|
||||||
Only use IPv4 for the SSH connection and Mosh session.
|
Only use IPv4 for the SSH connection and Mosh session.
|
||||||
|
|||||||
+2
-2
@@ -99,7 +99,7 @@ qq{Usage: $0 [options] [--] [user@]host [command...]
|
|||||||
-n --predict=never never use local echo
|
-n --predict=never never use local echo
|
||||||
--predict=experimental aggressively echo even when incorrect
|
--predict=experimental aggressively echo even when incorrect
|
||||||
|
|
||||||
-o --overwrite prediction overwrites instead of inserting
|
-o --predict-overwrite prediction overwrites instead of inserting
|
||||||
|
|
||||||
-4 --family=inet use IPv4 only
|
-4 --family=inet use IPv4 only
|
||||||
-6 --family=inet6 use IPv6 only
|
-6 --family=inet6 use IPv6 only
|
||||||
@@ -154,7 +154,7 @@ sub predict_check {
|
|||||||
GetOptions( 'client=s' => \$client,
|
GetOptions( 'client=s' => \$client,
|
||||||
'server=s' => \$server,
|
'server=s' => \$server,
|
||||||
'predict=s' => \$predict,
|
'predict=s' => \$predict,
|
||||||
'overwrite|o!' => \$overwrite,
|
'predict-overwrite|o!' => \$overwrite,
|
||||||
'port=s' => \$port_request,
|
'port=s' => \$port_request,
|
||||||
'a' => sub { $predict = 'always' },
|
'a' => sub { $predict = 'always' },
|
||||||
'n' => sub { $predict = 'never' },
|
'n' => sub { $predict = 'never' },
|
||||||
|
|||||||
Reference in New Issue
Block a user