<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/vt.c, branch 1.0.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.0.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.0.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-12-14T19:28:05Z</updated>
<entry>
<title>vt: add commented out cases for 8-bit C1 control characters</title>
<updated>2019-12-14T19:28:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-14T19:28:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2c4af8728dc7614fc3c329d3a172cc33e57dab01'/>
<id>urn:sha1:2c4af8728dc7614fc3c329d3a172cc33e57dab01</id>
<content type='text'>
XTerm seems to ignore these when in UTF-8 mode. Since we _only_
support UTF-8, we don't need to recognize these control characters at
all.

However, it may be good to have them here for reference. So add them,
but commented out, along with their corresponding 7-bit
versions (which we _do_ recognize and implement).
</content>
</entry>
<entry>
<title>vt: don't try to move cursor outside the terminal</title>
<updated>2019-11-29T23:32:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T23:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0e5a69d8692def68bbd046f91acb36a1193268a9'/>
<id>urn:sha1:0e5a69d8692def68bbd046f91acb36a1193268a9</id>
<content type='text'>
When we insert an auto-newline, we must make sure we don't try to move
outside the terminal window.

This can for example happen when a scrolling region have been
configured, and the cursor is **outside** the scrolling
region (i.e. it's in the bottom margin).
</content>
</entry>
<entry>
<title>vt: fix memory corruption: wcwidth() may return -1</title>
<updated>2019-11-29T23:15:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T23:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=88c1a8939f075d8d6d22bd3bd13b6e73e2c8546c'/>
<id>urn:sha1:88c1a8939f075d8d6d22bd3bd13b6e73e2c8546c</id>
<content type='text'>
When it did, we called print_insert() with that, which in turn
resulted in a too large size value passed to memmove.
</content>
</entry>
<entry>
<title>csi/vt: don't bad client data as errors</title>
<updated>2019-11-29T23:12:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T23:12:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9551be492cc5ffae484c7d608aa8e2e7475c6c1f'/>
<id>urn:sha1:9551be492cc5ffae484c7d608aa8e2e7475c6c1f</id>
<content type='text'>
This gets rid of spam when cat:ing binary data.
</content>
</entry>
<entry>
<title>vt: only define esc_as_string() when debug logging has been enabled</title>
<updated>2019-11-29T23:02:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T23:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=66f941d00a9717cc77ceebfe816ba883e9dbcd96'/>
<id>urn:sha1:66f941d00a9717cc77ceebfe816ba883e9dbcd96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: disable logging BELL</title>
<updated>2019-11-29T23:00:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T23:00:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cd9510aa7b27f08044ae2e8f714a105066d94301'/>
<id>urn:sha1:cd9510aa7b27f08044ae2e8f714a105066d94301</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi/ocs/vt: log unhandled/unrecognized sequences as debug messages</title>
<updated>2019-11-29T22:59:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T22:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=616896e2a52e0223d83f2625f96c67093b88e463'/>
<id>urn:sha1:616896e2a52e0223d83f2625f96c67093b88e463</id>
<content type='text'>
Having them as error messages was nice when we where still missing
lots of sequences.

Now we don't anymore, and these just spam stdout as well as syslog
when e.g. cat:ing binary data.
</content>
</entry>
<entry>
<title>vt: there are actually many state transitions that are no-ops</title>
<updated>2019-11-29T22:38:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T22:38:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3026b8981a511a2d913f930e0bb3e24682289a91'/>
<id>urn:sha1:3026b8981a511a2d913f930e0bb3e24682289a91</id>
<content type='text'>
In most states, most 8-bit values are no-ops. This is already handled;
action() recognizes ACTION_NONE as a no-op. Thus, all we need to do is
remove the assertion.
</content>
</entry>
<entry>
<title>Revert "vt: replace pre_print() with term_autowrap()"</title>
<updated>2019-11-17T16:22:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T16:22:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=04cbee7593747dd7c25565a7083152d3e2b739e0'/>
<id>urn:sha1:04cbee7593747dd7c25565a7083152d3e2b739e0</id>
<content type='text'>
This reverts commit fd8a3992745b9ec51b6e6c1dfc39faf01369b680.
</content>
</entry>
<entry>
<title>vt: replace pre_print() with term_autowrap()</title>
<updated>2019-11-17T11:14:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T11:14:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd8a3992745b9ec51b6e6c1dfc39faf01369b680'/>
<id>urn:sha1:fd8a3992745b9ec51b6e6c1dfc39faf01369b680</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: fix bad implementation of CBT (back tab)</title>
<updated>2019-11-17T10:20:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T10:20:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=616e506f2e12983d1d5eeb7eca66e32b5aa876d9'/>
<id>urn:sha1:616e506f2e12983d1d5eeb7eca66e32b5aa876d9</id>
<content type='text'>
* It takes a parameter, that indicates the number of tab stops to move
  through
* Use the tab stops defined in the tab stops list, not hard coded mod
  8 columns.
</content>
</entry>
<entry>
<title>vt: bug (tab regression): don't get stuck on the same tab stop</title>
<updated>2019-11-17T09:15:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T09:15:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=045f55a8c61480eff5e43061ee7ffd1207092889'/>
<id>urn:sha1:045f55a8c61480eff5e43061ee7ffd1207092889</id>
<content type='text'>
There were actually two bugs here:

* When checking for a tab stop, make sure the new tab stop is at a
  different column. Otherwise you can't tab away from a tab stop.

* When there aren't any tab stops configured, or when we're already
  beyond the last tab stop, then tab to the last column (at least I
  think that's what we're supposed to do).
</content>
</entry>
<entry>
<title>term: save/restore charsets on save/restore cursor+attributes</title>
<updated>2019-11-17T09:02:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T09:02:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c9ebd527cf01e49dc4094c1fbee5e133bf84c708'/>
<id>urn:sha1:c9ebd527cf01e49dc4094c1fbee5e133bf84c708</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: move charset variables into an anonymous struct</title>
<updated>2019-11-17T08:59:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T08:59:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ce544776ab41d19ade9d1689079471029da76ac1'/>
<id>urn:sha1:ce544776ab41d19ade9d1689079471029da76ac1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: move lcf flag into 'cursor' struct</title>
<updated>2019-11-17T08:46:20Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T08:46:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a70fe1f5d76bfc68f77e133f2a6ec25249fd67c7'/>
<id>urn:sha1:a70fe1f5d76bfc68f77e133f2a6ec25249fd67c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: add struct cursor</title>
<updated>2019-11-17T08:44:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T08:44:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d637b8c9ba8faa68e90c531131fa29b0abd9aaab'/>
<id>urn:sha1:d637b8c9ba8faa68e90c531131fa29b0abd9aaab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: rename: print_needs_wrap -&gt; lcf (Last Column Flag)</title>
<updated>2019-11-17T08:39:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T08:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c1088d77ac24f6655d430005711d2515f3f169ec'/>
<id>urn:sha1:c1088d77ac24f6655d430005711d2515f3f169ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: execute: \t: use tab stops from tab stop list</title>
<updated>2019-11-16T09:57:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-16T09:57:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=65ff3656f70735f6fcaee05c652004f1d4c717e8'/>
<id>urn:sha1:65ff3656f70735f6fcaee05c652004f1d4c717e8</id>
<content type='text'>
Instead of assuming hardcoded 8-width tab stops, use the tab stops
from the tab stop list.
</content>
</entry>
<entry>
<title>vt: implement ESC H - set tab stop at current column</title>
<updated>2019-11-16T09:57:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-16T09:57:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9ff48c2015c6bcd7fce8a4e64a51db593b28884c'/>
<id>urn:sha1:9ff48c2015c6bcd7fce8a4e64a51db593b28884c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vt: remove commented out code</title>
<updated>2019-11-16T09:55:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-16T09:55:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=69e0e454fa20b7f80b2012c27cc9edc40f659360'/>
<id>urn:sha1:69e0e454fa20b7f80b2012c27cc9edc40f659360</id>
<content type='text'>
</content>
</entry>
</feed>
