<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/csi.c, branch multi-cursor</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=multi-cursor</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=multi-cursor'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2025-08-31T08:28:10Z</updated>
<entry>
<title>csi: multi-cursor: refactor: loop boxes directly, without indexing</title>
<updated>2025-08-31T08:28:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-31T08:28:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7c4ac3f3485aadb4a0a40701671b86384e2260af'/>
<id>urn:sha1:7c4ac3f3485aadb4a0a40701671b86384e2260af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: multi-cursor: allocate grid-&gt;num_rows rows</title>
<updated>2025-08-31T07:22:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-31T07:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7dbccefeeaa7ad86a4461e831468b709b0156b7c'/>
<id>urn:sha1:7dbccefeeaa7ad86a4461e831468b709b0156b7c</id>
<content type='text'>
This way, we can safely index with any correctly wrapped row number
</content>
</entry>
<entry>
<title>multi-cursor: bug: use grid_row() when accessing rows</title>
<updated>2025-08-31T05:26:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-31T05:26:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8bfbbc89fd2931c63eeb26e5de032cfbc8b459be'/>
<id>urn:sha1:8bfbbc89fd2931c63eeb26e5de032cfbc8b459be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term_remove_all_multi_cursors(): early return if no extra cursors are active</title>
<updated>2025-08-29T11:21:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-29T11:21:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1055d32e9f6de10053783d5362ae5bfcbaf996fe'/>
<id>urn:sha1:1055d32e9f6de10053783d5362ae5bfcbaf996fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: disable debug logging (again)</title>
<updated>2025-08-28T17:11:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-28T17:11:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0dba15c64878a645c9b5bffc1e7eb43d2d900cb4'/>
<id>urn:sha1:0dba15c64878a645c9b5bffc1e7eb43d2d900cb4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: multi-cursor: ensure 'len' is initialized</title>
<updated>2025-08-28T13:39:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-28T13:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=acf62bdda5416b845a4ad06e2bf4a75479e2b3af'/>
<id>urn:sha1:acf62bdda5416b845a4ad06e2bf4a75479e2b3af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: disable debug logging</title>
<updated>2025-08-28T10:58:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-28T10:58:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bab4a2158b0da94feb2a81f437a14808685127c4'/>
<id>urn:sha1:bab4a2158b0da94feb2a81f437a14808685127c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: multi-cursor: convert debug logging to actual debug logs</title>
<updated>2025-08-28T10:48:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-28T10:48:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=410b2c246d8f432f2e67c89bd32811765daa0ea3'/>
<id>urn:sha1:410b2c246d8f432f2e67c89bd32811765daa0ea3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: multi-cursor: implement cursor and color queries</title>
<updated>2025-08-28T10:44:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-28T10:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e4fcb0cc335ca55a67c57b1e80292b760aba7cc6'/>
<id>urn:sha1:e4fcb0cc335ca55a67c57b1e80292b760aba7cc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: multi-cursor: use enum values in switch</title>
<updated>2025-08-28T10:17:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-28T10:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=89d87f2c1bfa9419594a68a192d72633de6849bf'/>
<id>urn:sha1:89d87f2c1bfa9419594a68a192d72633de6849bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>multi-cursor: dirty affected rows and cells</title>
<updated>2025-08-27T13:00:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-27T13:00:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bb49057e540b6ff63de0b1912e3b8568ae0dbe2f'/>
<id>urn:sha1:bb49057e540b6ff63de0b1912e3b8568ae0dbe2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: alt-screen: remove all extra cursors when switching screens</title>
<updated>2025-08-27T12:59:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-27T12:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6b3d7cb8aa5be66cbb1228bef3b82b7756257bd4'/>
<id>urn:sha1:6b3d7cb8aa5be66cbb1228bef3b82b7756257bd4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>multi-cursor: wip: track cursor shapes and colors</title>
<updated>2025-08-27T11:43:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-27T11:43:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=beb4556dc0e8a3c8c6febfb5dc832895098c7e4f'/>
<id>urn:sha1:beb4556dc0e8a3c8c6febfb5dc832895098c7e4f</id>
<content type='text'>
And erase all extra cursors on reset, resize and clear
screen/scrollback (ED 2/3).
</content>
</entry>
<entry>
<title>multi-cursor: wip: start tracking which cells has secondary cursors</title>
<updated>2025-08-27T09:30:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-27T09:29:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=dccbdb97cd97384f5959c8ba986bb0f87428aef1'/>
<id>urn:sha1:dccbdb97cd97384f5959c8ba986bb0f87428aef1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: wip: parse the multi-cursor escape (CS &gt; SPACE q)</title>
<updated>2025-08-27T08:34:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-27T08:34:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5e0524bf994237b7db20afb442c5e6d9df845eac'/>
<id>urn:sha1:5e0524bf994237b7db20afb442c5e6d9df845eac</id>
<content type='text'>
We do nothing with it yet
</content>
</entry>
<entry>
<title>csi: add '52' to the DA reply, to indicate PSC-52 support</title>
<updated>2025-06-10T05:12:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-06-09T07:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=968bc05c32a2e68282fd28e840b06ac63556d82e'/>
<id>urn:sha1:968bc05c32a2e68282fd28e840b06ac63556d82e</id>
<content type='text'>
Note: only *copy* is required to be enabled in security.osc52; paste
is optional, see
https://github.com/contour-terminal/contour/issues/1761#issuecomment-2944492097
</content>
</entry>
<entry>
<title>csi: when REP:ing a "combining" character, use correct width</title>
<updated>2025-05-16T16:46:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-05-16T08:46:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ebd1614316ea541cd1ac0cc0029f771be333176e'/>
<id>urn:sha1:ebd1614316ea541cd1ac0cc0029f771be333176e</id>
<content type='text'>
Before this patch, we just called c32width(), which only works on
actual codepoints. If the last printed character is a "combining"
character, i.e. a key into our lookup table for multi-codepoint
graphemes, we need to lookup the grapheme and pick the width from
there.

See https://gitlab.com/AutumnMeowMeow/jexer/-/issues/119#note_2499712901
</content>
</entry>
<entry>
<title>csi: implement private mode 2031 (dark/light mode detection)</title>
<updated>2025-04-26T12:23:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-20T10:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=10e7f291498a6600cfecc3cde604ea51de5f0f5a'/>
<id>urn:sha1:10e7f291498a6600cfecc3cde604ea51de5f0f5a</id>
<content type='text'>
* Recognize 'CSI ? 996 n', and respond with
  - 'CSI ? 997 ; 1 n' if the primary theme is active
  - 'CSI ? 997 ; 2 n' if the alternative theme is actice
* Implement private mode 2031, where changing the color
  theme (currently only possible via key bindings) causes the terminal
  to send the same CSI sequences as above.

In this context, foot's primary theme is considered dark, and the
alternative theme light (since the default theme is dark).

Closes #2025
</content>
</entry>
<entry>
<title>csi: don't allow client app to enable grapheme-shaping when disabled at compile-time</title>
<updated>2025-04-19T11:35:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-04-19T10:16:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cb2a64c5854205092150afe80f96177764bd4038'/>
<id>urn:sha1:cb2a64c5854205092150afe80f96177764bd4038</id>
<content type='text'>
Closes #2039
</content>
</entry>
<entry>
<title>DECSCUSR+DECRQSS: treat hollow cursor as a block cursor</title>
<updated>2025-02-21T07:03:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-02-21T07:03:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4f11d6086fd9341e663fafaf2b256981af389eef'/>
<id>urn:sha1:4f11d6086fd9341e663fafaf2b256981af389eef</id>
<content type='text'>
If the user has configured cursor.style=hollow, make DECSCUSR 1/2 set
the cursor to hollow rather than block, and make DECRQSS DECSCUSR
respond as if cursor.style=block.

The idea is to not expose the hollow variant in DECSCUSR in any way,
to avoid having to extend it with custom encodings.

Another way to think about it is this is just a slightly more
discoverable way of doing:

    cursor.style=block
    cursor.block-cursor-is-hollow=yes
</content>
</entry>
</feed>
