<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.5.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.5.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.5.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-11-06T19:09:26Z</updated>
<entry>
<title>selection: explicitly set direction when right-click extending</title>
<updated>2020-11-06T19:09:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-04T18:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=66f846d72324ecb030236e3dd0b7001c0840a7a5'/>
<id>urn:sha1:66f846d72324ecb030236e3dd0b7001c0840a7a5</id>
<content type='text'>
Fixes an issue where right-click-and-dragging to extend a selection
caused one cell being removed from the selection.

Closes #180
</content>
</entry>
<entry>
<title>input: don’t use seat-&gt;kbd_focus as terminal when processing a key press</title>
<updated>2020-11-06T19:09:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-03T18:44:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c512dc4490b552c535636563db28b74b258ec0fc'/>
<id>urn:sha1:c512dc4490b552c535636563db28b74b258ec0fc</id>
<content type='text'>
When converting mouse scroll events to keyboard input (in alternate
scroll mode), we need to use seat-&gt;mouse_focus, not seat-&gt;kbd_focus.

To enable this, break out key press/release handling code to a
separate function that takes an explicit term argument. Call this
function from keyboard_key(), input_repeat() and in alternate scroll
mode.

Closes #179
</content>
</entry>
<entry>
<title>tiocswinsz: fix compilation error on e.g. ppc64</title>
<updated>2020-11-06T19:08:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-29T17:06:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=273f105af5861e35f58b6a37e9b1b576dd9adaec'/>
<id>urn:sha1:273f105af5861e35f58b6a37e9b1b576dd9adaec</id>
<content type='text'>
On some platforms, TIOCSWINSZ has a very large value, &gt;
0x80000000.

On some platforms, the `request` argument to `ioctl(3)` is an `int`.

For platforms where both of the above is true, gcc will warn (and
error out if compiled with `-Werror`) on:

  ioctl(fd, TIOCSWINSZ, ...)

To silence this warning, we need to cast `TIOCSWINSZ` to an
integer.

However, doing this on platforms where `request` is an `unsigned long`
will result in `TIOCSWINSZ` being sign-extended (and thus we end up
with an invalid value).

It seems that casting to `unsigned int` works in both cases; it
silences the long -&gt; int conversion warning, while also preserving the
correct value in all cases.
</content>
</entry>
<entry>
<title>input: handle XKB errors</title>
<updated>2020-11-06T19:08:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-20T19:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=30f23a3b743525bf7daf4334a549030956146b15'/>
<id>urn:sha1:30f23a3b743525bf7daf4334a549030956146b15</id>
<content type='text'>
* Don’t de-reference the xkb context/keymap/state if we failed to
  instantiate them.
* Don’t try to send a translated utf8 key sequence if the translation
  failed.
* Handle xkb_compose_state_get_utf8() and xkb_state_key_get_utf8()
  returning more than 64 bytes.

This _may_ fix #171.
</content>
</entry>
<entry>
<title>input: don’t allow diagonal resize when tiled</title>
<updated>2020-11-06T19:08:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-20T19:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=90544ef391f0c546e831255036a939ac5314f6a9'/>
<id>urn:sha1:90544ef391f0c546e831255036a939ac5314f6a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: properly restore window size when being un-tiled</title>
<updated>2020-11-06T19:07:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-20T18:58:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ebd4a32768ba1e587fb884b58819605f4ef87c18'/>
<id>urn:sha1:ebd4a32768ba1e587fb884b58819605f4ef87c18</id>
<content type='text'>
Bind to xdg-shell version 2 if available, as this enables us to
track our window’s ‘tiled’ state in the ‘configure’ events.

This in turn allows us to stash the ‘old’ window size when being
tiled, to be used again when restoring the window size when un-tiled.
</content>
</entry>
<entry>
<title>input: don’t crash if xkbcommon cannot find a compose file</title>
<updated>2020-11-06T19:07:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-19T16:30:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9e7783596aad33fcb5564186feb93d94e465627b'/>
<id>urn:sha1:9e7783596aad33fcb5564186feb93d94e465627b</id>
<content type='text'>
Handle xkb_compose_table_new_from_locale() returning NULL. When this
happens, log a warning that “dead keys” will be disabled, and make
sure to never de-reference the compose table pointer.

Closes #170
</content>
</entry>
<entry>
<title>changelog: prepare for 1.5.3</title>
<updated>2020-11-06T19:06:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-06T19:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e85ace0b0d0bc50cd8ddfbd27586b298f22cb7ca'/>
<id>urn:sha1:e85ace0b0d0bc50cd8ddfbd27586b298f22cb7ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>input: regression: don’t pass on mouse click to application if we consumed it</title>
<updated>2020-10-13T06:02:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-13T06:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fdb7e403555df5fdcb7daf23f665bdec13b02500'/>
<id>urn:sha1:fdb7e403555df5fdcb7daf23f665bdec13b02500</id>
<content type='text'>
When we ‘consume’ a mouse button event (i.e. when we have a shortcut
mapped to it), the event should *not* be passed on to the client
application.

In 5f64c5c33590a41afd3f621870c6abd89b859073, button handling was
refactored and unfortunately introduced a regression where we once
again started passing consumed button presses to the client
application.

Fixes #168
</content>
</entry>
<entry>
<title>changelog: prepare for 1.5.1</title>
<updated>2020-10-11T17:31:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-11T17:31:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=77a87b30ffd424a57c0da5563586107f3e6944ba'/>
<id>urn:sha1:77a87b30ffd424a57c0da5563586107f3e6944ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: remove duplicate entry</title>
<updated>2020-10-11T17:27:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-11T17:20:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a32464e296dbedd623cf444aae5b44c44e0011f6'/>
<id>urn:sha1:a32464e296dbedd623cf444aae5b44c44e0011f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: update ‘contributors’ list</title>
<updated>2020-10-11T17:27:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-10T21:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=70a6f8882358751ad0376929353c9a31d9811700'/>
<id>urn:sha1:70a6f8882358751ad0376929353c9a31d9811700</id>
<content type='text'>
</content>
</entry>
<entry>
<title>selection: use appropriate check for PRIMARY paste</title>
<updated>2020-10-11T17:27:07Z</updated>
<author>
<name>Sergey Nazaryev</name>
<email>sergey@nazaryev.com</email>
</author>
<published>2020-10-10T18:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e842f4936740477a28357e8238455253aa2f02de'/>
<id>urn:sha1:e842f4936740477a28357e8238455253aa2f02de</id>
<content type='text'>
Assume it could be a copy-paste typo. We should check PRIMARY, not
CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything
to CLIPBOARD.
</content>
</entry>
<entry>
<title>config: bind shift+insert to primary-paste by default</title>
<updated>2020-10-11T17:26:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-10T08:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=282af4478413d3c9390a5332e386bd6dc049946b'/>
<id>urn:sha1:282af4478413d3c9390a5332e386bd6dc049946b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: add contributor</title>
<updated>2020-10-11T17:26:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-09T17:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4bf61fe2f11536c98edb8a2859f762abd5d66c78'/>
<id>urn:sha1:4bf61fe2f11536c98edb8a2859f762abd5d66c78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: only respond to Primary DA when Ps == 0</title>
<updated>2020-10-11T17:26:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-09T16:53:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5477ee88948166f76c9ac69bc28bf8af8d8bd869'/>
<id>urn:sha1:5477ee88948166f76c9ac69bc28bf8af8d8bd869</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: we’ve fixed several sixel+reflow related bugs</title>
<updated>2020-10-11T17:26:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-07T16:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=98c316556f9fba1591e307bb4d25eb4e02f45026'/>
<id>urn:sha1:98c316556f9fba1591e307bb4d25eb4e02f45026</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sixel: fix sheared image when image crosses scrollback wrap-around</title>
<updated>2020-10-11T17:25:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-02T18:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cdcdfe527c353bf55c3aaf9f843ee2e7c3cf9b0f'/>
<id>urn:sha1:cdcdfe527c353bf55c3aaf9f843ee2e7c3cf9b0f</id>
<content type='text'>
When a sixel image crosses the scrollback wrap-around, it is split up
into (at least) two pieces.

We use cursor-&gt;point.col for all pieces’ x-coordinate. This caused the
final image to appear sheared, since we do a carriage-return (after a
number of linefeeds) after each piece - this causes the cursor’s
position to be reset to the left margin.

The solution is simple; remember the cursor’s initial x-coordinate,
and use that to position all image pieces.

Closes #151.
</content>
</entry>
<entry>
<title>sixel: overwrite-by-rectangle expects ‘width’ to not exceed screen</title>
<updated>2020-10-11T17:25:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-02T18:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7a7ba599c3f14c3e86645fc7e23225f513ef5414'/>
<id>urn:sha1:7a7ba599c3f14c3e86645fc7e23225f513ef5414</id>
<content type='text'>
This fixes a crash when the emitted sixel extends beyond the right
margin. The crash only happens when there are other sixel images
already emitted.

Fixes part of #151
</content>
</entry>
<entry>
<title>render: apply opacity correctly when in reverse video mode</title>
<updated>2020-10-11T17:24:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-08T17:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a53e8c28661f3267555a3e06ce7ef3b90a9cfbe1'/>
<id>urn:sha1:a53e8c28661f3267555a3e06ce7ef3b90a9cfbe1</id>
<content type='text'>
</content>
</entry>
</feed>
