<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/doc/foot-ctlseqs.7.scd, branch 1.17.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.17.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.17.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2024-03-07T15:26:11Z</updated>
<entry>
<title>doc: ctlseq: DECCARA, DECRARA, DECCRA, DECFRA and DECERA</title>
<updated>2024-03-07T15:26:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-01T13:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6ff307b3b53c50902b185e0e7504ff5dcc0c0934'/>
<id>urn:sha1:6ff307b3b53c50902b185e0e7504ff5dcc0c0934</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: support DECRQM queries for ECMA-48 (SM/RM) modes</title>
<updated>2024-02-11T15:09:28Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2024-02-11T15:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fa01bf2b75fd5c74c57552cb351cb291002fc3bb'/>
<id>urn:sha1:fa01bf2b75fd5c74c57552cb351cb291002fc3bb</id>
<content type='text'>
This is in addition to the existing support for DECRQM queries
of DEC private modes.
</content>
</entry>
<entry>
<title>osc: add support for osc 176 (app ID)</title>
<updated>2024-02-06T12:50:09Z</updated>
<author>
<name>delthas</name>
<email>delthas@dille.cc</email>
</author>
<published>2023-09-04T12:02:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6c56b04b3f312be8dcee307e29515f3c83b3ae87'/>
<id>urn:sha1:6c56b04b3f312be8dcee307e29515f3c83b3ae87</id>
<content type='text'>
This adds support for a new OSC escape sequence: OSC 176, that lets
terminal programs tell the terminal the name of the app that is
running. foot then sets the app ID of the toplevel to that ID,
which lets the compositor know which app is running, and typically
sets the appropriate icon, window grouping, ...

See: https://gist.github.com/delthas/d451e2cc1573bb2364839849c7117239
</content>
</entry>
<entry>
<title>doc: foot-ctlseq: add OSC 133 C/D (command output start/end)</title>
<updated>2024-02-06T12:38:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-02-06T12:38:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=41dc259744675e93239295286795ca4e8191f2df'/>
<id>urn:sha1:41dc259744675e93239295286795ca4e8191f2df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: implement DECSET/DECRST/DECRQM 2027 - grapheme cluster processing</title>
<updated>2023-09-25T14:50:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-09-20T11:45:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4eef001d5855b9b5afb59bbd3b92b3a2828fcca0'/>
<id>urn:sha1:4eef001d5855b9b5afb59bbd3b92b3a2828fcca0</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>csi: implement "CSI ? m"</title>
<updated>2023-04-26T16:30:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-04-26T16:30:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=dc7642f2a52076aacc04b72e1cb213ac96649d50'/>
<id>urn:sha1:dc7642f2a52076aacc04b72e1cb213ac96649d50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc: ctlseq: fix capitalization in description of DA3 sequence</title>
<updated>2023-02-16T08:50:53Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2023-02-16T08:50:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=25154a81509934074934bd71c986d9866103f293'/>
<id>urn:sha1:25154a81509934074934bd71c986d9866103f293</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc: foot-ctlseq: expand last column to fill screen in all tables</title>
<updated>2022-12-14T11:20:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-12-14T11:20:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3b9aca6a3d0caef3c0a5070f7684687e8c5d0c1a'/>
<id>urn:sha1:3b9aca6a3d0caef3c0a5070f7684687e8c5d0c1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc: ctlseq: add trailing space to fix XTGETTCAP entry in DCS table</title>
<updated>2022-11-24T20:34:41Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2022-11-24T20:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1b24cf4fcb8a32a9c20eb607c2015542eb2753d4'/>
<id>urn:sha1:1b24cf4fcb8a32a9c20eb607c2015542eb2753d4</id>
<content type='text'>
Without the trailing space, both the sequence and the description
were getting packed into a single table column.
</content>
</entry>
<entry>
<title>osc: add support for OSC 133;A (prompt markers)</title>
<updated>2022-06-16T17:02:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-06-15T16:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bdb79e8b9fb36f627bb204ce2060dd5a877f3712'/>
<id>urn:sha1:bdb79e8b9fb36f627bb204ce2060dd5a877f3712</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>csi: implement CSI &gt; 4n (reset modifyOtherKeys)</title>
<updated>2022-04-19T15:25:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-04-19T15:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8485cdaaaa5f26d3c12dbffd07fd9061ed10f56a'/>
<id>urn:sha1:8485cdaaaa5f26d3c12dbffd07fd9061ed10f56a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix some small typos</title>
<updated>2022-04-13T07:41:10Z</updated>
<author>
<name>Merlin Büge</name>
<email>merlin.buege@tuhh.de</email>
</author>
<published>2022-04-06T18:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5539eac5909a426d23789ccc7a12ce0e7b29f983'/>
<id>urn:sha1:5539eac5909a426d23789ccc7a12ce0e7b29f983</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc: ctlseq: document XTMODKEYS</title>
<updated>2022-04-10T16:36:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-04-07T16:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6792f5fce0d2d2761f6aac7a3e5c25b994ba2b14'/>
<id>urn:sha1:6792f5fce0d2d2761f6aac7a3e5c25b994ba2b14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: add support for DECNKM private mode</title>
<updated>2022-03-19T13:44:14Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2022-03-19T13:14:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8d4d22218e63c88a7b9897219272775fc575da33'/>
<id>urn:sha1:8d4d22218e63c88a7b9897219272775fc575da33</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>doc: ctlseq: recommend using DECSET 2026 for synchronized updates</title>
<updated>2022-02-16T14:48:10Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2022-02-16T14:48:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f8262f21256d1b8de5d18c3402682111f31a4d65'/>
<id>urn:sha1:f8262f21256d1b8de5d18c3402682111f31a4d65</id>
<content type='text'>
Instead of the somewhat problematic[1] DCS-based equivalent.

[1]: https://codeberg.org/dnkl/foot/issues/459
</content>
</entry>
<entry>
<title>doc: ctlseq: tweak formatting of OSC 22 sequence slightly, for clarity</title>
<updated>2022-02-15T15:39:35Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2022-02-15T15:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9db416ccdcb9fb4c452343fb4754b6f78e161450'/>
<id>urn:sha1:9db416ccdcb9fb4c452343fb4754b6f78e161450</id>
<content type='text'>
Having 3 separately underlined words made it look a bit like 3 separate
parameters, at a glance.
</content>
</entry>
<entry>
<title>doc: ctlseq: make OSC 8 formatting consistent with other sequences</title>
<updated>2022-02-15T15:35:04Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2022-02-15T15:35:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3d3ee2274fbde1655256bfb16b36fd32785506d0'/>
<id>urn:sha1:3d3ee2274fbde1655256bfb16b36fd32785506d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc: ctlseq: OSC-22</title>
<updated>2022-02-07T16:28:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-01T13:00:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f718af4c1bc9559781322dade2819eda5f0e7d32'/>
<id>urn:sha1:f718af4c1bc9559781322dade2819eda5f0e7d32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dcs: implement DECRQSS</title>
<updated>2022-01-14T12:52:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-13T14:36:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=add530e66d7709543bad6f958002437eac71a80d'/>
<id>urn:sha1:add530e66d7709543bad6f958002437eac71a80d</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>doc: ctlseq: add XTGETTCAP</title>
<updated>2022-01-13T12:42:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2022-01-06T20:29:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7258e0b00544784cf8f6a9ed7d9d81d7d9444a83'/>
<id>urn:sha1:7258e0b00544784cf8f6a9ed7d9d81d7d9444a83</id>
<content type='text'>
</content>
</entry>
</feed>
