Commit 74577f6d authored by Per Bothner's avatar Per Bothner

Add repaint and (prompt-)kind options.

parent 3b0055e3
......@@ -55,7 +55,7 @@ application; if that is unavailable, the name of the application.
> Then start a new command, and enter prompt mode: Subsequent text
> (until a `OSC "133;B"` or `OSC "133;I"`command) is a prompt string.
> Applicable options: `aid`, `click-move`.
> Applicable options: `aid`, `click-move`, `repaint`.
`OSC "133;N"` _options_ `"\007"`
......@@ -65,13 +65,15 @@ application; if that is unavailable, the name of the application.
> (as well as any other commands nested more deeply).
> If no `aid` is specified, treat as an `aid` whose value is the empty string.
> Applicable options: `aid`, `click-move`.
> Applicable options: `aid`, `click-move`, `repaint`.
`OSC "133;P"` _options_ `"\007"`
> Start of secondary prompt. This is used for multi-line prompts,
> right-side prompts, and prompts for continuation lines.
> Applicable options: `kind`.
`OSC "133;B"` _options_ `"\007"`
> End of prompt and start of user input, terminated
> by a `OSC "133;C"`.
......@@ -161,6 +163,16 @@ A terminal must ignore an _option_ whose _option-name_ it doesn't recognize.
> The defaults are the standard arrow-key sequences: `CSI D` etc.
> (_Note:_ this is an example where allowing quoted strings would be useful.)
`repaint`
> Used before repainting the active input line(s): Clear the
> input area of data and re-use it.
`kind=` _prompt_kind_
> Specify the kind of prompt sequence.
> Currently `right` is the only specified _prompt_kind_.
> When reflowing lines with a `right` prompt, a terminal may optionally
> adjust spacing so the `right` prompt stays at the right end of the line.
## Input lines
Each input section consists of one or more input lines,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment