<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/csi.c, branch 0.9.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=0.9.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=0.9.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-09-29T12:58:02Z</updated>
<entry>
<title>csi: ignore invalid scrolling regions</title>
<updated>2019-09-29T12:58:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-29T12:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4594899114c59386b41c3daa3249ab3d89792ca1'/>
<id>urn:sha1:4594899114c59386b41c3daa3249ab3d89792ca1</id>
<content type='text'>
There must be at least one scrolling row. I.e. the bottom margin must
be larger than the top margin.

Note that trying to set an invalid region really will
be *ignored*. I.e. we *don't* reset the scrolling region.

This conforms to xterm's behavior.
</content>
</entry>
<entry>
<title>csi: don't ignore the color space identifier in SGRs</title>
<updated>2019-09-04T18:28:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-09-04T18:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=684624c11e8ddb169f0e9966373b5a0ef4faa853'/>
<id>urn:sha1:684624c11e8ddb169f0e9966373b5a0ef4faa853</id>
<content type='text'>
Only a color space ID of '2' means the sequence is an RGB
sequence. Update existing code to verify this, and ignore sequences
with other color space IDs.

Except color space ID '5', which is the same as a regular 38;5;&lt;idx&gt;
sequence, but using sub-parameters instead (38:2:5:&lt;idx&gt;).
</content>
</entry>
<entry>
<title>csi: CSI h isn't a valid sequence - it needs a parameter</title>
<updated>2019-08-30T20:01:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-30T20:01:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f4291690ee5775418a44b67ca452480225529b1b'/>
<id>urn:sha1:f4291690ee5775418a44b67ca452480225529b1b</id>
<content type='text'>
And, 'insert mode' isn't activated with \e[h, but with
\e[4h.
</content>
</entry>
<entry>
<title>term: rename colors256 -&gt; table</title>
<updated>2019-08-21T16:50:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-21T16:50:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d8fb80ea32d3054ea0455b841e60677c86470fbb'/>
<id>urn:sha1:d8fb80ea32d3054ea0455b841e60677c86470fbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: use colors256 array for *all* colors</title>
<updated>2019-08-21T16:47:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-21T16:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=631e0c0870d98a4b3f97c90a8f3d07d549fdf8fb'/>
<id>urn:sha1:631e0c0870d98a4b3f97c90a8f3d07d549fdf8fb</id>
<content type='text'>
That is, remove the 'regular' and 'bright' color arrays. This is
possible since the 256-color array is defined such that the first 16
colors map to the regular and bright colors.
</content>
</entry>
<entry>
<title>csi: move 256-color table into the terminal struct</title>
<updated>2019-08-21T15:56:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-21T15:56:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d7aaeaedee981371f1137c058b60322155e9ba00'/>
<id>urn:sha1:d7aaeaedee981371f1137c058b60322155e9ba00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: implement CSI ? 1007 h/l - alternateScroll</title>
<updated>2019-08-19T19:16:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-19T19:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4168f91d402e2fdb3c58b2de843dfed13c88c8ab'/>
<id>urn:sha1:4168f91d402e2fdb3c58b2de843dfed13c88c8ab</id>
<content type='text'>
When enabled, mouse scrolls in the alternate screen are converted to
up/down key presses.
</content>
</entry>
<entry>
<title>csi: cancel selection *before* switching grid</title>
<updated>2019-08-08T15:57:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-08T15:57:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bab6f1d6bf0d81c777b87f4ef21f849f7bd2cdfb'/>
<id>urn:sha1:bab6f1d6bf0d81c777b87f4ef21f849f7bd2cdfb</id>
<content type='text'>
This fixes an occasional SIGSEGV
</content>
</entry>
<entry>
<title>csi: add 'unimplemented' warnings for things we handle but ignore</title>
<updated>2019-08-04T16:11:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-04T16:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e2e1db8faf85947955ef43861a93e762b242809b'/>
<id>urn:sha1:e2e1db8faf85947955ef43861a93e762b242809b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: pack more efficiently and store glyph as a wchar</title>
<updated>2019-08-02T16:19:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-02T16:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d7993b36fa3f97e26c527c37b36eb9321b79791'/>
<id>urn:sha1:4d7993b36fa3f97e26c527c37b36eb9321b79791</id>
<content type='text'>
The 'attributes' struct is now 8 bytes and naturally packed (used to
be 9 bytes, artificially packed).

'cell' struct is now 12 bytes, naturally packed (used to be 13 bytes,
artificially packed).

Furthermore, the glyph is stored as a wchar instead of a char*. This
makes it easier (faster) to do glyph lookup when rendering.
</content>
</entry>
<entry>
<title>term: implement reset</title>
<updated>2019-08-01T18:51:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-01T18:51:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ab92abbd21fd65c313880b4765aa119ff60311f7'/>
<id>urn:sha1:ab92abbd21fd65c313880b4765aa119ff60311f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: remove almost all abort() calls</title>
<updated>2019-07-30T19:42:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T19:42:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8acc3b891dabf5ba96b71771c77061769c3e29b8'/>
<id>urn:sha1:8acc3b891dabf5ba96b71771c77061769c3e29b8</id>
<content type='text'>
Replace with generic error log messages that simply says the
ESC/CSI/OSC sequence is unhandled. This can mean either invalid or
unimplemented, depending on the context.
</content>
</entry>
<entry>
<title>render: add a 'clean' bit to each cell; only render cells that aren't clean</title>
<updated>2019-07-30T16:03:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T16:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=85ef9df586dfca22d16d04c9777dc38ff896223a'/>
<id>urn:sha1:85ef9df586dfca22d16d04c9777dc38ff896223a</id>
<content type='text'>
This patch takes a bit from the foreground color value in a
cell (todo: split up foreground/background into bitfields with a
separate field for 'foreground/background' has been set), and only
re-renders cells that aren't marked as clean.

Note: we use a 'clean' bit rather than a 'dirty' bit to make it easy
to erase cells - we can (keep doing) do that by simply memsetting a
cell range to 0.
</content>
</entry>
<entry>
<title>csi: ignore CSI ?1036h/l (metaSendsEscape)</title>
<updated>2019-07-23T15:57:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-23T15:57:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a397c64efe5e9918a39dba97375b625a5320567f'/>
<id>urn:sha1:a397c64efe5e9918a39dba97375b625a5320567f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: make sure to update 'current row' when restoring saved cursor</title>
<updated>2019-07-23T15:57:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-23T15:57:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f5a6304850fd7344f72355416cfbfd69b76482c4'/>
<id>urn:sha1:f5a6304850fd7344f72355416cfbfd69b76482c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: implement \E[Z - back tab</title>
<updated>2019-07-22T18:33:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-22T18:33:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ba322c4eff1664bc5a0b1e667fb4404ba6b078ac'/>
<id>urn:sha1:ba322c4eff1664bc5a0b1e667fb4404ba6b078ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: *sigh* looks like e.g. neovim doesn't respect Se</title>
<updated>2019-07-22T18:23:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-22T18:23:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=751ac55f649c35134d1cd4e12f48cb19fa808bae'/>
<id>urn:sha1:751ac55f649c35134d1cd4e12f48cb19fa808bae</id>
<content type='text'>
I.e. it issues a \E[2 q regardless of what we've configured the
terminfo Se entry to.

So, make \E[2 q mean "the user configured cursor style" (which
defaults to 'block').
</content>
</entry>
<entry>
<title>csi: let CSI 0 q mean "switch to user configured cursor style"</title>
<updated>2019-07-22T18:19:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-22T18:19:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=49034bb759edc0d137783844213677d6db074dcb'/>
<id>urn:sha1:49034bb759edc0d137783844213677d6db074dcb</id>
<content type='text'>
According to the specs, \E[0 q means a blinking block cursor. However,
since it also states that \E[1 q *also* is a blinking block cursor,
and that it is the default, *and* given that fact that parameter-less
CSIs typically means "reset", let's make it mean "reset to the user
configured cursor style".
</content>
</entry>
<entry>
<title>render: implement cursor styles 'bar' and 'underline'</title>
<updated>2019-07-22T18:07:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-22T18:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ed5df194b8bcefaa41efd4914e29075b5849dfb0'/>
<id>urn:sha1:ed5df194b8bcefaa41efd4914e29075b5849dfb0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: prepare for alternative cursor styles</title>
<updated>2019-07-22T17:44:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-22T17:44:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=10be7c37ba6ca2dc83ab34cc296bf2618873014e'/>
<id>urn:sha1:10be7c37ba6ca2dc83ab34cc296bf2618873014e</id>
<content type='text'>
</content>
</entry>
</feed>
