<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.10.3</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.3</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.3'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-12-08T17:08:45Z</updated>
<entry>
<title>changelog: prepare for 1.10.3</title>
<updated>2021-12-08T17:08:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-08T17:08:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=924726ac76530e04bec5a4294b6f1b55cabd60f4'/>
<id>urn:sha1:924726ac76530e04bec5a4294b6f1b55cabd60f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kitty: initial support for “report alternate key”</title>
<updated>2021-12-08T17:06:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-07T18:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=010c4001d2f83aaf1f5c86455c8e5bd4ba708cc7'/>
<id>urn:sha1:010c4001d2f83aaf1f5c86455c8e5bd4ba708cc7</id>
<content type='text'>
In this mode, the “shifted” and “base layout” keys are added to the
CSIs, as sub-parameters to the “key” parameter.

Note that this PR only implements the “shifted” key, not the “base
layout key”.

This is done by converting the original XKB symbol to it’s
corresponding UTF-32 codepoint. If this codepoint is different from
the one we use as “key” in the CSI, we add it as a sub-parameter.

Related to #319
</content>
</entry>
<entry>
<title>kitty: implement “report associated text”</title>
<updated>2021-12-08T17:05:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-06T22:01:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7a5386d883c8b7cb4f23c13da948bd57c1eb3bf4'/>
<id>urn:sha1:7a5386d883c8b7cb4f23c13da948bd57c1eb3bf4</id>
<content type='text'>
In this mode, key events that generate text now add a third CSI
parameter, indicating the actual codepoint.

Remember that we always use the *unshifted* key in the CSI
escapes. With this mode, those CSI escapes now also included the text
codepoint. I.e. what would have been emitted, had we not generated a
CSI escape.

As far as I can tell, this mode has no effect unless “report all keys
as escape sequences” is enabled (reason being, without that, there
aren’t any text events that generate CSIs - they’re always emitted
as-is).

Note that Kitty itself seems to be somewhat buggy in this mode. At
least on Wayland, with my Swedish layout. For example ‘a’ and ‘A’ does
generate the expected CSIs, but ‘å’ and ‘Å’ appears to be treated as
non-text input.

Furthermore, Kitty optimizes away the modifier parameter, if no
modifiers are pressed (e.g. CSI 97;;97u), while we always emit the
modifier (CSI 97;1;97u).

Related to #319
</content>
</entry>
<entry>
<title>grid: reload pointers into the uri range vector after inserting</title>
<updated>2021-12-08T17:05:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-08T16:41:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9649842eca3b84e0dc9c232e86f6630173cc49fa'/>
<id>urn:sha1:9649842eca3b84e0dc9c232e86f6630173cc49fa</id>
<content type='text'>
Inserting elements into the URI range vector typically triggers a
vector resize. This is done using realloc(). Sometimes this causes the
vector to move, thus invalidating all existing pointers into the
vector.
</content>
</entry>
<entry>
<title>input: kitty: add support for “report all keys as escape codes”</title>
<updated>2021-12-08T17:05:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-29T20:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4e34fb8fb7006a3d5d9d458e220fffef47c97de6'/>
<id>urn:sha1:4e34fb8fb7006a3d5d9d458e220fffef47c97de6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: ensure cell dimensions are non-zero</title>
<updated>2021-12-08T17:05:20Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-04T17:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8b260568fbf9d1e420b7bdacd971ba0f82a96fd4'/>
<id>urn:sha1:8b260568fbf9d1e420b7bdacd971ba0f82a96fd4</id>
<content type='text'>
Closes #830
</content>
</entry>
<entry>
<title>changelog: move entry to ‘unreleased’</title>
<updated>2021-12-08T17:05:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-02T19:41:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=46cd5dfafc4c1d9265b149eeb55eaee3a92bee60'/>
<id>urn:sha1:46cd5dfafc4c1d9265b149eeb55eaee3a92bee60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: kitty: report events</title>
<updated>2021-12-08T17:03:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-28T18:03:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a242ba3f979a5656c2b3409a137773a71238152b'/>
<id>urn:sha1:a242ba3f979a5656c2b3409a137773a71238152b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: add new ‘unreleased’ section</title>
<updated>2021-12-08T17:02:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-02T19:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1a5a0952d540933ff8eca9b743aea0e67aeee211'/>
<id>urn:sha1:1a5a0952d540933ff8eca9b743aea0e67aeee211</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.10.2</title>
<updated>2021-12-02T19:26:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-02T19:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5a59bbdb7191f0608d3497dbc03d8f34f9de524e'/>
<id>urn:sha1:5a59bbdb7191f0608d3497dbc03d8f34f9de524e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc-4: don’t update the color of cells with RGB fg/bg colors</title>
<updated>2021-12-01T19:07:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T18:36:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a3016a6cc909d9c383359a4eaafd30bcd52bd272'/>
<id>urn:sha1:a3016a6cc909d9c383359a4eaafd30bcd52bd272</id>
<content type='text'>
OSC 4/104 changes the 256-color palette. We also run a pass over the
visible cells, and update their colors.

This was previously done by comparing the actual color of the cell,
with the “old” color in the palette. If they matched, the cell was
updated.

This meant that cells with an RGB color (i.e. not a palette based
color) was also updated, _if_ its color matched the palette color.

Now that each cell tracks its color *source*, we can ignore all
non-palette based cells.

Note that this still isn’t perfect: if the palette contains multiple
entries with the same color, we’ll end up updating the “wrong” cells.

Closes #678
</content>
</entry>
<entry>
<title>input: always update the xcursor shape in pointer enter/motion events</title>
<updated>2021-12-01T19:04:01Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-01T19:04:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1619e83c13875f71f79e5ca0e4504dd59dd81d79'/>
<id>urn:sha1:1619e83c13875f71f79e5ca0e4504dd59dd81d79</id>
<content type='text'>
Now that term_xcursor_update_for_seat() takes the current surface into
account (i.e. doesn’t assume the cursor is over the main grid),
there’s no longer any need to call render_xcursor_set() directly.

Thus, we can simply call term_xcursor_update_for_seat() on **all**
pointer enter and motion events. As long as we take care to update the
internal state to reflect the, possibly new, current surface before
doing so.

Also make sure to **always** reset the seat’s “current” xcursor
pointer on pointer leave events. This is done without actually sending
anything to the compositor, but is necessary to ensure that we *do*
send a request to update the xcursor on the next pointer enter event.
</content>
</entry>
<entry>
<title>changelog: window-menu</title>
<updated>2021-11-30T21:12:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T21:12:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd82fb81fa8bef795eb4d9ac2fdccdf787c35759'/>
<id>urn:sha1:fd82fb81fa8bef795eb4d9ac2fdccdf787c35759</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: fix csd border rendering glitch when width &gt; 5px</title>
<updated>2021-11-29T18:32:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-29T18:23:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3afe317e4637d511bb4f795d20d8e0467c0e42bf'/>
<id>urn:sha1:3afe317e4637d511bb4f795d20d8e0467c0e42bf</id>
<content type='text'>
CSD borders are always *at least* 5px. If url.border-width=0, those
5px are all fully transparent (and act as interactive resize handles).

As csd.border-width increases, the number of transparent pixels
decrease. Once csd.border-width &gt;= 5, the border is fully opaque.

When csd.border-width &gt; 5, then width of the border is (obviously)
more than 5px. But, when rendering the opaque part of the border, we
still used 5px for the invisible part, which caused some pixman
rectangles to have negative x/y coordinates.

This resulted in rendering glitches due to overflows in pixman when
rendering the borders.

The fix is to ensure the total border size is always at least, but
not *always* 5px. That is, set it to max(5, csd.border-width).

This patch also fixes an issue where the CSD borders were not
dimmed (like the titlebar) when the window looses input focus.

Closes #823
</content>
</entry>
<entry>
<title>changelog: kitty keyboard protocol - disambiguate escape codes</title>
<updated>2021-11-28T14:14:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-27T17:47:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1f19dd6694b1268b40620ca5743ac458948ad0c5'/>
<id>urn:sha1:1f19dd6694b1268b40620ca5743ac458948ad0c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>grid: bug: OSC-8 URIs were incorrectly skipped while resizing the alt screen</title>
<updated>2021-11-26T19:29:23Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-26T19:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=be203aeae1280ad7cac3ec9e287d1dd97528f390'/>
<id>urn:sha1:be203aeae1280ad7cac3ec9e287d1dd97528f390</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc8: update URI ranges as we print data, *not* when the URI is closed</title>
<updated>2021-11-25T18:31:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-25T18:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8c50a7afd401686f645fb26676fbcaedb8d4ab62'/>
<id>urn:sha1:8c50a7afd401686f645fb26676fbcaedb8d4ab62</id>
<content type='text'>
At first, an OSC-8 URI range was added when we received the closing
OSC-8 escape (i.e. with an empty URI).

But, this meant that cursor movements while the OSC-8 escape was in
effect wasn’t handled correctly, since we’d add a range that spanned
the cursor movements.

Attempts were made to handle this in the cursor movement functions, by
closing and re-opening the URI.

However, there are too many corner cases to make this a viable
approach. Scrolling is one such example, line-wrapping another.

This patch takes a different approach; emit, or update the URI range
when we print to the grid. This models the intended behavior much more
closely, where an active OSC-8 URI act like any other SGR attribute -
it is applied to all cells printed to, but otherwise have no effect.

To avoid killing performance, this is only done in the “generic”
printer. This means OSC-8 open/close calls must now “switch” the ASCII
printer.

Note that the “fast” printer still needs to *erase* pre-existing OSC-8
URIs.

Closes #816
</content>
</entry>
<entry>
<title>input: finalize mouse selection on a pointer-leave event on the GRID surface</title>
<updated>2021-11-25T14:21:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-25T14:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=325ad6dd4e950546514448a838ce03027103d0bd'/>
<id>urn:sha1:325ad6dd4e950546514448a838ce03027103d0bd</id>
<content type='text'>
If a mouse selection was ongoing, and the user switched
workspace (probably using the keyboard...), and then back, the
selection was still treated as ongoing, while all other mouse state
has been reset.

This meant the user had to tap at least once to stop the selection.
</content>
</entry>
<entry>
<title>config: add tweak.grapheme-width-method=max</title>
<updated>2021-11-23T18:50:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-22T22:02:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c1c0f11821e36e96add5060916d83533308b4126'/>
<id>urn:sha1:c1c0f11821e36e96add5060916d83533308b4126</id>
<content type='text'>
‘max’ is a new value for ‘tweak.grapheme-width-method’. When enabled,
the width of a grapheme cluster is that of the cluster’s widest
codepoint.
</content>
</entry>
<entry>
<title>changelog: add new ‘unreleased’ section</title>
<updated>2021-11-22T21:24:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-22T21:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=caec64cbdae2fc59da2a40cf3bf142a3df9b15e5'/>
<id>urn:sha1:caec64cbdae2fc59da2a40cf3bf142a3df9b15e5</id>
<content type='text'>
</content>
</entry>
</feed>
