<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/terminal.h, 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-01T13:03:24Z</updated>
<entry>
<title>fcft: include &lt;fcft/fcft.h&gt;, and use fcft/stride.h instead of local copy</title>
<updated>2019-12-01T13:03:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-01T13:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=30335ef32ac8d04b4221b5a0988835767f9ea944'/>
<id>urn:sha1:30335ef32ac8d04b4221b5a0988835767f9ea944</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fcft: use fcft instead of local copy of font.c/font.h</title>
<updated>2019-12-01T12:43:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-01T12:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd9c28464db8e3f334819ec9d773bf31ed37c088'/>
<id>urn:sha1:fd9c28464db8e3f334819ec9d773bf31ed37c088</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: mouse reporting functions no longer take modifier state</title>
<updated>2019-11-30T16:11:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-30T16:11:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fbeb1e96103681b6a3fac49443e64ed13ae28737'/>
<id>urn:sha1:fbeb1e96103681b6a3fac49443e64ed13ae28737</id>
<content type='text'>
The mouse reporting functions are called from input when we receive
Wayland mouse events.

We used to pass the current keyboard modifier (shift, alt, ctrl, etc)
to the terminal functions.

This however is wrong, since we may receive Wayland mouse events
without having keyboard focus. When we don't have keyboard focus, the
modifier state doesn't apply to us.

Remove the modifier arguments from the terminal mouse reporting
functions. These functions now read this state directly instead, but
only when the terminal instance in question has keyboard focus.
</content>
</entry>
<entry>
<title>term: add term_mouse_grabbed()</title>
<updated>2019-11-30T16:06:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-30T16:06:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2208f4304b799dbaaf52629d8ef3ce5629f16184'/>
<id>urn:sha1:2208f4304b799dbaaf52629d8ef3ce5629f16184</id>
<content type='text'>
When this returns true, it means we have keyboard focus and are
grabbing the mouse (for e.g. selections), regardless of whether the
client has enabled mouse tracking or not.
</content>
</entry>
<entry>
<title>term: xcursor: use 'hand2' instead of 'left_ptr' when mouse tracking</title>
<updated>2019-11-29T21:30:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T21:30:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bf9a9e7b907d451b651ad78bf193cb8d66753f5a'/>
<id>urn:sha1:bf9a9e7b907d451b651ad78bf193cb8d66753f5a</id>
<content type='text'>
Mouse tracking always reports clicks, so using a cursor that suggests
you can click makes sense I think.
</content>
</entry>
<entry>
<title>terminal: use the 'text' xcursor pointer whenever selection is possible</title>
<updated>2019-11-28T18:35:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-28T18:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0dd37f0a364fc36284dad17e8fb1345714261a4a'/>
<id>urn:sha1:0dd37f0a364fc36284dad17e8fb1345714261a4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>font: move metrics from terminal struct to font struct</title>
<updated>2019-11-26T18:02:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-26T17:54:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bc86cd61c75f984633eb226692a30832c58efb17'/>
<id>urn:sha1:bc86cd61c75f984633eb226692a30832c58efb17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: try to improve on a performance regression</title>
<updated>2019-11-17T17:52:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T17:52:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9902a5732f9d3d99955f3c7bf09ebc8db4bd1f82'/>
<id>urn:sha1:9902a5732f9d3d99955f3c7bf09ebc8db4bd1f82</id>
<content type='text'>
When support was added for DECOM (absolute/relative row addressing), a
small but noticeable (~3.5%) performance regression was introduced.

Try to improve the situation by simplifying the relative-to-absolute
conversion; only the row needs to be transformed.
</content>
</entry>
<entry>
<title>Revert "term: new function: term_autowrap()"</title>
<updated>2019-11-17T16:22:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T16:22:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cf75528e86df4c0fef5018da38e4f2256703a818'/>
<id>urn:sha1:cf75528e86df4c0fef5018da38e4f2256703a818</id>
<content type='text'>
This reverts commit 686405b7031736445eeb35206e4a797a8dd78d91.
</content>
</entry>
<entry>
<title>term: new function: term_autowrap()</title>
<updated>2019-11-17T11:13:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T11:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=686405b7031736445eeb35206e4a797a8dd78d91'/>
<id>urn:sha1:686405b7031736445eeb35206e4a797a8dd78d91</id>
<content type='text'>
Adds a linebreak (+ scroll if necessary) if we're in a deferred wrap
and auto-margins are enabled.

Return true when we wrapped, false otherwise.
</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: convert anonymous 'charsets' struct to a named struct</title>
<updated>2019-11-17T09:00:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-17T09:00:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3f3feedde2b8a83e946b72700e0d0d30cb2e0efa'/>
<id>urn:sha1:3f3feedde2b8a83e946b72700e0d0d30cb2e0efa</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>term: add tab-stop list to terminal struct</title>
<updated>2019-11-16T09:54:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-16T09:54:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f91073c362d55ba82c64e977300a1230be076ffd'/>
<id>urn:sha1:f91073c362d55ba82c64e977300a1230be076ffd</id>
<content type='text'>
This list is intended to store tab stop columns
</content>
</entry>
<entry>
<title>csi: implement DECOM - switch cursor origin between absolute and relative</title>
<updated>2019-11-05T12:27:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T12:27:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=95eaad7ce4b40d1401cbc982966a9c7a0036e1fc'/>
<id>urn:sha1:95eaad7ce4b40d1401cbc982966a9c7a0036e1fc</id>
<content type='text'>
The default is absolute mode, where 0,0 is the upper left corner of
the screen.

In relative mode, the origin is relative the top scroll margin.

Internally, we always track the current cursor position in absolute
mode. Every time we the client *sets* or *queries* the cursor position
in relative mode, we translate it to absolute.
</content>
</entry>
<entry>
<title>term: asynchronous writes to slave</title>
<updated>2019-11-03T00:03:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-03T00:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f00c5fdac6e395859cf4971e5b7fa778f24336cc'/>
<id>urn:sha1:f00c5fdac6e395859cf4971e5b7fa778f24336cc</id>
<content type='text'>
Make ptmx non-blocking. Then, when writing data to the slave would
have blocked, use the FDM to asynchronously write the remaining data.

This is done by enabling EPOLLOUT on ptmx, and enqueueing all outgoing
data. The FDM handler will go through the enqueued data, and once all
of it has been written, we turn off EPOLLOUT again (thus switching
back to synchronous writes)
</content>
</entry>
<entry>
<title>Rename: vt_to_slave() -&gt; term_to_slave()</title>
<updated>2019-11-02T23:52:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-02T23:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9f1525aef778508e4fb12292693be5649c4c8c5a'/>
<id>urn:sha1:9f1525aef778508e4fb12292693be5649c4c8c5a</id>
<content type='text'>
</content>
</entry>
</feed>
