commit 6dd484ff2d2a417037e56a205fc5ae22adaa6335 Author: Tom Schwindl <schwi...@posteo.de> AuthorDate: Wed Jan 11 08:56:10 2023 +0100 Commit: Jan Klemkow <j.klem...@wemelug.de> CommitDate: Tue Jan 24 16:59:40 2023 +0100
lchat.1: mention modes briefly diff --git a/lchat.1 b/lchat.1 index df6b6ae..ebd172f 100644 --- a/lchat.1 +++ b/lchat.1 @@ -12,6 +12,7 @@ .Op Fl t Ar title .Op Fl i Ar in .Op Fl o Ar out +.Op Fl m Ar mode .Op directory .Sh DESCRIPTION The @@ -69,6 +70,14 @@ as out-file. Default is 'out'. This overrides .Ar directory . +.It Fl m Ar mode +Use the specified +.Ar mode . +Currently, the only valid argument is +.Ar emacs . +See +.Sy MODES +for more information .It Ar directory Uses .Ar directory @@ -89,6 +98,13 @@ contains the prompt string. .It .title contains the terminal window title. .El +.Sh MODES +.Nm +is able to interpret keypresses differently depending on the mode it is +operating in. Each mode defines a set of keybindings and corresponding actions. +The mode cannot be changed while +.Nm +is running. .Sh SEE ALSO .Xr ii 1 , .Xr tail 1