aboutsummaryrefslogtreecommitdiff
path: root/doc/foot-ctlseqs.7.scd (follow)
Commit message (Collapse)AuthorAgeLines
* csi: implement DECSET/DECRST/DECRQM 2027 - grapheme cluster processingDaniel Eklöf2023-09-25-0/+3
| | | | | | | | | | | This implements private mode 2027 - grapheme cluster processing, as defined in the "Terminal Unicode Core"[1] specification. Internally, we just flip the already existing option "grapheme shaping". Since it's now runtime changeable, we need a copy of it in the terminal struct, rather than referencing the conf object. [1]: https://github.com/contour-terminal/terminal-unicode-core/blob/13fc5a8993a033ff10c1f3433d08cb618cde4ac2/spec/terminal-unicode-core.tex#L50-L53
* csi: implement "CSI ? m"Daniel Eklöf2023-04-26-0/+4
|
* doc: ctlseq: fix capitalization in description of DA3 sequenceCraig Barnes2023-02-16-1/+1
|
* doc: foot-ctlseq: expand last column to fill screen in all tablesDaniel Eklöf2022-12-14-9/+9
|
* doc: ctlseq: add trailing space to fix XTGETTCAP entry in DCS tableCraig Barnes2022-11-24-1/+1
| | | | | Without the trailing space, both the sequence and the description were getting packed into a single table column.
* osc: add support for OSC 133;A (prompt markers)Daniel Eklöf2022-06-16-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the OSC-133;A sequence, introduced by FinalTerm and implemented by iTerm2, Kitty and more. See https://iterm2.com/documentation-one-page.html#documentation-escape-codes.html. The shell emits the OSC just before printing the prompt. This lets the terminal know where, in the scrollback, there are prompts. We implement this using a simple boolean in the row struct ("this row has a prompt"). The prompt marker must be reflowed along with the text on window resizes. In an ideal world, erasing, or overwriting the cell where the OSC was emitted, would remove the prompt mark. Since we don't store this information in the cell struct, we can't do that. The best we can do is reset it in erase_line(). This works well enough in the "normal" screen, when used with a "normal" shell. It doesn't really work in fullscreen apps, on the alt screen. But that doesn't matter since we don't support jumping between prompts on the alt screen anyway. To be able to jump between prompts, two new key bindings have been added: prompt-prev and prompt-next, bound to ctrl+shift+z and ctrl+shift+x respectively. prompt-prev will jump to the previous, not currently visible, prompt, by moving the viewport, ensuring the prompt is at the top of the screen. prompt-next jumps to the next prompt, visible or not. Again, by moving the viewport to ensure the prompt is at the top of the screen. If we're at the bottom of the scrollback, the viewport is instead moved as far down as possible. Closes #30
* csi: implement CSI > 4n (reset modifyOtherKeys)Daniel Eklöf2022-04-19-1/+7
|
* fix some small typosMerlin Büge2022-04-13-1/+1
|
* doc: ctlseq: document XTMODKEYSDaniel Eklöf2022-04-10-0/+5
|
* csi: add support for DECNKM private modeCraig Barnes2022-03-19-0/+3
| | | | | | | | | | | This is equivalent to DECKPAM/DECKPNM when enabled/disabled, but can also be saved/restored/queried with XTSAVE/XTRESTORE/DECRQM. See also: * https://vt100.net/docs/vt510-rm/DECNKM.html * https://vt100.net/docs/vt510-rm/DECKPAM.html * https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-PC-Style-Function-Keys
* doc: ctlseq: recommend using DECSET 2026 for synchronized updatesCraig Barnes2022-02-16-4/+4
| | | | | | Instead of the somewhat problematic[1] DCS-based equivalent. [1]: https://codeberg.org/dnkl/foot/issues/459
* doc: ctlseq: tweak formatting of OSC 22 sequence slightly, for clarityCraig Barnes2022-02-15-1/+1
| | | | | Having 3 separately underlined words made it look a bit like 3 separate parameters, at a glance.
* doc: ctlseq: make OSC 8 formatting consistent with other sequencesCraig Barnes2022-02-15-3/+3
|
* doc: ctlseq: OSC-22Daniel Eklöf2022-02-07-0/+4
|
* dcs: implement DECRQSSDaniel Eklöf2022-01-14-0/+3
| | | | | | | | | | | This patch adds support for DECRQSS (request Selection or Setting), for the following sub-queries: * DECSTBM Set Top and Bottom Margins * SGR Set Graphic Rendition * DECSCUSR Set Cursor Style Closes #798
* doc: ctlseq: add XTGETTCAPDaniel Eklöf2022-01-13-0/+3
|
* doc: ctlseq: add missing ‘[‘ to a couple of CSI sequencesDaniel Eklöf2022-01-01-5/+5
|
* doc: ctlseq: kitty kbd: swap name/fromDaniel Eklöf2022-01-01-4/+4
|
* doc: ctlseq: kitty keyboard protocolDaniel Eklöf2022-01-01-0/+17
|
* doc: ctlseq: private mode 1016 - SGR-PixelsDaniel Eklöf2022-01-01-0/+3
|
* doc: ctlseq: improve text formatting in CSI and SGR sectionsCraig Barnes2021-10-11-10/+10
| | | | | | | | Using underlining for parameters allows the angle brackets to be removed while still keeping a visual separation between literals and parameters. The removes any uncertainty about whether the angle brackets are part of the sequence or not. It also mirrors the formatting used further down in the document.
* doc: ctlseq: fix SGR table headingCraig Barnes2021-10-11-2/+2
| | | | | The other tables that contain only params also use the heading "Parameter" rather than "Sequence".
* doc: ctlseq: improve description of OSC 52 responseDaniel Eklöf2021-07-22-2/+2
|
* [foot-ctlseqs] 8-bit control characters are C1nick black2021-06-14-1/+1
|
* Merge branch 'xtversion'Daniel Eklöf2021-06-13-0/+5
|\ | | | | | | Closes #359
| * doc: ctlseq: add XTVERSIONDaniel Eklöf2021-06-13-0/+5
| |
* | doc: foot-ctlseqs: mention that SS2/SS3 only affect the next characterCraig Barnes2021-06-12-2/+2
| |
* | doc: foot-ctlseqs: rename SS0/SS1 to SO/SICraig Barnes2021-06-12-2/+2
|/ | | | | | | | | | | There's no mention of SS0 or SS1 functions in ECMA-48 or ECMA-35. 0x0E/0x0F are SO/SI (Shift In/Out) in "7-bit environments" or LS0/LS1 (Locking Shift 0/1) in "8-bit environments". The former is the one that applies to foot, since it generally follows "7-bit" conventions due to its use of UTF-8. See also: ECMA-35 §7.2 and §9.2.
* osc: implement iTerm2’s OSC-9 - desktop notificationsDaniel Eklöf2021-06-04-0/+3
|
* csi: add support for DECSET 2026, as an alternative to BSU/ESU sequencesCraig Barnes2021-04-25-0/+3
| | | | See: https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2#note_847720
* osc: implement OSC 17+19: change selection background/foreground colorsDaniel Eklöf2021-04-08-7/+22
| | | | | And of course, we also implement the corresponding reset sequences, OSC 117+119.
* doc: foot-ctlseq: mention that we support transparency in OSC 11Daniel Eklöf2021-04-08-1/+3
|
* Add NAME section to foot-ctlseqs.7; fixes whatis entry for manual page.Felix Lechner2021-02-28-0/+3
| | | | | | | | In a recent Debian build from master, Lintian complained about a bad whatis entry for this manual page. The tag description [1] says a NAME section is required. It is added here. [1] https://lintian.debian.org/tags/bad-whatis-entry.html
* doc: ctlseqs: rename "foot-ctlseqs.5" man page to "foot-ctlseqs.7"Craig Barnes2021-02-23-0/+634
Section 5 is for "file formats and conventions", which doesn't really apply to terminal escape sequences. Section 7 is for "miscellaneous".