<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/csi.c, branch 1.4.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-07-24T15:47:47Z</updated>
<entry>
<title>csi: secondary DA: do not pretend we're xterm</title>
<updated>2020-07-24T15:47:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-24T15:47:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=60984e7a2476e81ffe9d356d6e4cb11e218d812e'/>
<id>urn:sha1:60984e7a2476e81ffe9d356d6e4cb11e218d812e</id>
<content type='text'>
Previously, our secondary DA response indicated a) VT420, b) an XTerm
version number.

Now, we indicate VT220 (which corresponds to the primary DA response),
and we report foot's version number as MMmmpp. I.e major, minor and
patch versions, using two digits.

E.g. 1.4.2 is encoded as 010402
</content>
</entry>
<entry>
<title>csi: primary DA: remove features we do not support</title>
<updated>2020-07-24T15:46:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-24T15:46:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cc60d3a6701d2266eda30bdad6cebc67d05bcc0e'/>
<id>urn:sha1:cc60d3a6701d2266eda30bdad6cebc67d05bcc0e</id>
<content type='text'>
We do not implement

* Selective Erase
* Technical Character Set
* Terminal state interrogation
</content>
</entry>
<entry>
<title>csi: never call term_print() with width &lt;= 0</title>
<updated>2020-07-16T06:06:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-16T06:06:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=47d6dd0eeef6b3153a3989c76044f2cb091b12d2'/>
<id>urn:sha1:47d6dd0eeef6b3153a3989c76044f2cb091b12d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: DECAWM: clear LCF</title>
<updated>2020-07-14T08:54:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-14T08:54:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bc2fc778ae10b0c18debeeafe51804e95499e435'/>
<id>urn:sha1:bc2fc778ae10b0c18debeeafe51804e95499e435</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: IND+RI now clears LCF</title>
<updated>2020-07-14T08:52:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-14T08:52:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7fce1720d6cf8caf807b2d01efb5903834eeddc3'/>
<id>urn:sha1:7fce1720d6cf8caf807b2d01efb5903834eeddc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: rename term_formfeed() -&gt; term_carriage_return()</title>
<updated>2020-07-14T07:29:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-14T07:29:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b9719673a17618654b09bf9631e0ab65cf0d9def'/>
<id>urn:sha1:b9719673a17618654b09bf9631e0ab65cf0d9def</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: '\E[0 q' resets the cursor style to the default, not '\E[2 q'</title>
<updated>2020-06-30T15:44:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-06-30T15:43:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7f65bd1c20d74d196b85761a57f093ab28dc0691'/>
<id>urn:sha1:7f65bd1c20d74d196b85761a57f093ab28dc0691</id>
<content type='text'>
Also update 'Se' capability in the terminfo, to reflect this.
</content>
</entry>
<entry>
<title>csi: debug: print 'private' *after* parameters</title>
<updated>2020-06-30T15:42:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-06-30T15:42:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd4904d82a5d601eaac896e425887a03192e0c44'/>
<id>urn:sha1:fd4904d82a5d601eaac896e425887a03192e0c44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: \E[3J: reset render.last_cursor.row if necessary</title>
<updated>2020-06-09T15:32:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-06-09T15:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bf57d0c60691963e597408827b74646d368658ec'/>
<id>urn:sha1:bf57d0c60691963e597408827b74646d368658ec</id>
<content type='text'>
This fixes a crash that occurred when the last rendered cursor cell
had scrolled off screen, and \E[3J (clear scrollback) was executed.
</content>
</entry>
<entry>
<title>term: scrolling: calling function must clamp scroll amount</title>
<updated>2020-05-19T16:47:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-19T16:47:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=550667a9ea9edcec3071a1d7ec7c868aa7c791ad'/>
<id>urn:sha1:550667a9ea9edcec3071a1d7ec7c868aa7c791ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: ignore invalid parameters in 'CSI Ps &lt;space&gt; q'</title>
<updated>2020-05-04T18:19:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-04T18:19:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=af9e5aef2b0fe98320d9964439d5d9dffa2d558f'/>
<id>urn:sha1:af9e5aef2b0fe98320d9964439d5d9dffa2d558f</id>
<content type='text'>
Before this patch, an invalid parameter would not change the cursor
style, but could cause the cursor to start (or stop) blinking.
</content>
</entry>
<entry>
<title>util.h: new header file defining commonly used macros</title>
<updated>2020-05-01T09:46:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-01T09:46:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=69c3e744983e37662fa7b4f61482fb1d142e257c'/>
<id>urn:sha1:69c3e744983e37662fa7b4f61482fb1d142e257c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: log 'unhandled' for invalid 'target' and 'operation' in CSI ? S</title>
<updated>2020-04-25T09:39:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-25T09:39:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=33a53efa7179718d90f4cf353028bb0989041fc1'/>
<id>urn:sha1:33a53efa7179718d90f4cf353028bb0989041fc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: fix typo - the '(' was in the wrong place</title>
<updated>2020-04-19T12:52:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-19T12:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=08485ce412ed02c1294187dae1d19e23f26240a8'/>
<id>urn:sha1:08485ce412ed02c1294187dae1d19e23f26240a8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: CSI Ps ; Ps ; Ps t: report logical pixels</title>
<updated>2020-04-18T21:20:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-18T21:20:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e93757198a6894ac36939b96a16a151c78e86a6f'/>
<id>urn:sha1:e93757198a6894ac36939b96a16a151c78e86a6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: implement CSI Ps ; Ps ; Ps t reporting escape sequences</title>
<updated>2020-04-18T09:51:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-17T21:03:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fa8b0cbd80c5473e648c5fa1a71b0f74537d1af3'/>
<id>urn:sha1:fa8b0cbd80c5473e648c5fa1a71b0f74537d1af3</id>
<content type='text'>
A lot of the escape sequences on the "CSI Ps ; Ps ; Ps t" form are
expected to return a reply. Thus, not having these implemented means
we will hang if the client sends these escapes.

Not all of these escapes can be meaningfully implemented on Wayland,
and thus this implementation is best effort.

We now support the following escapes:

* 11t   - report if window is iconified (always replies "no")
* 13t   - report window position (always replies 0,0)
* 13;2t - report text area position (replies with margins, since we
          cannot get the window's position)
* 14t   - report text area size, in pixels
* 14;2t - report window size, in pixels
* 15t   - report screen size, in pixels
* 16t   - report cell size, in pixels
* 18t   - report text area size, in cells
* 19t   - report screen size, in cells
</content>
</entry>
<entry>
<title>grid: move 'cursor' state from terminal to grid</title>
<updated>2020-04-16T16:51:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-16T16:51:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=89559d5466502176995720a33316714012a638d1'/>
<id>urn:sha1:89559d5466502176995720a33316714012a638d1</id>
<content type='text'>
This way, the 'normal' and 'alt' grids have their own cursor state,
and we don't need to switch between them.
</content>
</entry>
<entry>
<title>Fix clang warnings</title>
<updated>2020-04-12T16:20:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-12T16:20:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1776f8bf1ecc2daec2573fb45a7dcbbbf7519cd8'/>
<id>urn:sha1:1776f8bf1ecc2daec2573fb45a7dcbbbf7519cd8</id>
<content type='text'>
All are printf() formatter related. Even if a variable is e.g. a
'short', when used in an expression like '&lt;variable&gt; - 1' it is
promoted to an 'int'.

Closes #16
</content>
</entry>
<entry>
<title>alt-screen: use a custom 'saved' cursor when switching to alt screen</title>
<updated>2020-03-16T11:00:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-16T11:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1006608093fbbe19103f63fc1140b122a3904500'/>
<id>urn:sha1:1006608093fbbe19103f63fc1140b122a3904500</id>
<content type='text'>
This fixes an issue where we failed to restore the cursor correctly
when exiting from the alternate screen, if the client had sent escapes
to save the cursor position while inside the alternate screen.

This was because we used the *same* storage for saving the cursor
position through escapes, as for saving it when entering the alternate
screen.

Fix by using a custom variable dedicated to normal &lt;--&gt; alt screen
switching.
</content>
</entry>
<entry>
<title>sixel: improve handling of images when reflowing the grids</title>
<updated>2020-03-13T17:47:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-13T17:44:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d482bf0a304b8224499bf9de9e0781518106ec7c'/>
<id>urn:sha1:d482bf0a304b8224499bf9de9e0781518106ec7c</id>
<content type='text'>
Update the sixels' 'row' attribute when re-flowing a grid, to ensure
it is rendered at the correct place.

This should work in most cases, but will break when the cell size has
changed (e.g. font size increase/decrease, or a DPI change).

This patch also moves the sixel image list from the terminal struct
into the grid struct. The sixels are per-grid after all.
</content>
</entry>
</feed>
