<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.25.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.25.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.25.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2025-10-16T06:46:36Z</updated>
<entry>
<title>changelog: prepare for 1.25.0</title>
<updated>2025-10-16T06:46:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-16T06:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=dc5a921d2c5561f6d8f857ab3483e2fd1c59026f'/>
<id>urn:sha1:dc5a921d2c5561f6d8f857ab3483e2fd1c59026f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: always render a new frame after a fullscreen change</title>
<updated>2025-10-15T07:41:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-15T07:41:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=dbf18ba444e728ecddcc0e15fc44cc1fc0590b53'/>
<id>urn:sha1:dbf18ba444e728ecddcc0e15fc44cc1fc0590b53</id>
<content type='text'>
This is needed, since we disable alpha in fullscreen, and since we use
different image buffer formats (XRGB vs. ARGB) when we have alpha
vs. when we don't (and fullscreen always disables alpha).

Normally, this happens anyway, as the window is resized when going in
or out from fullscreen. But, it's technically possible for a
compositor to change an application's fullscreen state without
resizing the window.
</content>
</entry>
<entry>
<title>extract: number of spaces after the tab shouldn't include the tab cell itself</title>
<updated>2025-10-11T08:13:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-11T08:05:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=96605bf52fa3794ee2f13739831ad92229b4b3a3'/>
<id>urn:sha1:96605bf52fa3794ee2f13739831ad92229b4b3a3</id>
<content type='text'>
This fixes an off by one, where we sometimes "ate" an extra space when
extracting contents with tabs. This happened if the tab (and its
subsequent spaces) were followed by an additional space.

Closes #2194
</content>
</entry>
<entry>
<title>config: add colors.dim-blend-towards=black|white</title>
<updated>2025-10-10T09:10:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-10T09:10:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7ed36c10334c0b2480fa026238f8f1791d2f9439'/>
<id>urn:sha1:7ed36c10334c0b2480fa026238f8f1791d2f9439</id>
<content type='text'>
Before this patch, we always blended towards black when dimming
text. However, with light color themes, it usually looks better if we
dim towards white instead.

This option allows you to choose which color to blend towards.

The default is 'black' in '[colors]', and 'white' in '[colors2]'.

Closes #2187
</content>
</entry>
<entry>
<title>changelog: updated jump label colors in modus-operandi</title>
<updated>2025-10-10T08:36:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-10T08:36:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=371837ef7b23b3e9f574069671d06a96e73526aa'/>
<id>urn:sha1:371837ef7b23b3e9f574069671d06a96e73526aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: when double-buffering, pre-apply previous frame's damage early</title>
<updated>2025-10-10T08:23:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-05T08:48:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=299186a6547f6e038ee6f3822caf9a0fdfabceef'/>
<id>urn:sha1:299186a6547f6e038ee6f3822caf9a0fdfabceef</id>
<content type='text'>
Foot likes it when compositor releases buffer immediately, as that
means we only have to re-render the cells that have changed since the
last frame.

For various reasons, not all compositors do this. In this case, foot
is typically forced to switch between two buffers, i.e. double-buffer.

In this case, each frame starts with copying over the damage from the
previous frame, to the new frame. Then we start rendering the updated
cells.

Bringing over the previous frame's damage can be slow, if the changed
area was large (e.g. when scrolling one or a few lines, or on full
screen updates). It's also done single-threaded. Thus it not only
slows down frame rendering, but pauses everything else (i.e. input
processing). All in all, it reduces performance and increases input
latency.

But we don't have to wait until it's time to render a frame to copy
over the previous frame's damage. We can do that as soon as the
compositor has released the buffer (for the frame _before_ the
previous frame). And we can do this in a thread.

This frees up foot to continue processing input, and reduces frame
rendering time since we can now start rendering the modified cells
immediately, without first doing a large memcpy(3).

In worst case scenarios (or perhaps we should consider them best case
scenarios...), I've seen up to a 10x performance increase in frame
rendering times (this obviously does *not* include the time it takes
to copy over the previous frame's damage, since that doesn't affect
neither input processing nor frame rendering).

Implemented by adding a callback mechanism to the shm abstraction
layer. Use it for the grid buffers, and kick off a thread that copies
the previous frame's damage, and resets the buffers age to 0 (so that
foot understands it can start render to it immediately when it later
needs to render a frame).

Since we have certain way of knowing if a compositor releases buffers
immediately or not, use a bit of heuristics; if we see 10 consecutive
non-immediate releases (that is, we reset the counter as soon as we do
see an immediate release), this new "pre-apply damage" logic is
enabled. It can be force-disabled with tweak.pre-apply-damage=no.

We also need to take care to wait for the thread before resetting the
render's "last_buf" pointer (or we'll SEGFAULT in the thread...).

We must also ensure we wait for the thread to finish before we start
rendering a new frame. Under normal circumstances, the wait time is
always 0, the thread has almost always finished long before we need to
render the next frame. But it _can_ happen.

Closes #2188
</content>
</entry>
<entry>
<title>changelog: shm buffer stride alignment</title>
<updated>2025-10-05T07:40:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-04T13:40:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bb314425ef9c2069e3b17122b7f81ecc7d527a81'/>
<id>urn:sha1:bb314425ef9c2069e3b17122b7f81ecc7d527a81</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: osc8: tag *all* cells in a multi-column character as an URI</title>
<updated>2025-10-04T07:24:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-04T07:24:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=80951ab7a6b3bcc4dd3c30a5454bf648d3d9ed93'/>
<id>urn:sha1:80951ab7a6b3bcc4dd3c30a5454bf648d3d9ed93</id>
<content type='text'>
When we print a character to the grid, we must also update its OSC-8
state if an OSC-8 URI is currently active.

For double-width characters, this was only being done for the first
cell.

This causes the labels in URL mode to be off, as the link was
effectively chopped up into multiple pieces.

Closes #2179
</content>
</entry>
<entry>
<title>changelog: add new 'unreleased' section</title>
<updated>2025-09-12T08:22:21Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-09-12T08:22:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c34f0633075769a2564e10d359feeca604373ae4'/>
<id>urn:sha1:c34f0633075769a2564e10d359feeca604373ae4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.24.0</title>
<updated>2025-09-12T08:18:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-09-12T08:18:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f715f3b55fb094e6ab1fdc18dcf8956227c495c4'/>
<id>urn:sha1:f715f3b55fb094e6ab1fdc18dcf8956227c495c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: utempter del has no argument</title>
<updated>2025-09-09T15:34:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-09-09T15:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=65528f455d0d7753da73365fb39b39473a87d8b5'/>
<id>urn:sha1:65528f455d0d7753da73365fb39b39473a87d8b5</id>
<content type='text'>
This fixes an issue where we didn't record a logout record when using
the libutempter backend.
</content>
</entry>
<entry>
<title>config: add 'uppercase-regex-insert'</title>
<updated>2025-08-31T09:36:28Z</updated>
<author>
<name>Ryan Roden-Corrent</name>
<email>git@rrc.codes</email>
</author>
<published>2025-08-07T12:18:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=298196365c06c13dd16a74e34e03d9de93670473'/>
<id>urn:sha1:298196365c06c13dd16a74e34e03d9de93670473</id>
<content type='text'>
This makes the "uppercase hint character inserts selected text"
behavior added in #1975 configurable, as it can have unexpected
behavior for some users.

It defaults to "on", preserving the new behavior of `foot`, after

Fixes #2159.
</content>
</entry>
<entry>
<title>config: value_to_*(): don't overwrite result variable on error</title>
<updated>2025-08-25T13:46:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-08-25T12:26:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ed7652db5056c3658afbc11c04e164e77da18650'/>
<id>urn:sha1:ed7652db5056c3658afbc11c04e164e77da18650</id>
<content type='text'>
Some of the value_to_*() functions wrote directly to the output
variable, even when the value was invalid. This often resulted in the
an actual configuration option (i.e. a member in the config struct) to
be overwritten by an invalid value.

For example, -o initial-color-theme=0 would set
conf-&gt;initial_color_theme to -1, resulting in a crash later, when
initializing a terminal instance.
</content>
</entry>
<entry>
<title>server/client: add support for sending SIGUSR to footclient</title>
<updated>2025-08-01T07:38:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-31T15:37:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b13a8f12d2d360e0923ee30ff40f25b245576bb5'/>
<id>urn:sha1:b13a8f12d2d360e0923ee30ff40f25b245576bb5</id>
<content type='text'>
This patch adds the IPC infrastructure necessary to propagate
SIGUSR1/SIGUSR2 from a footclient process to the server process.

By targeting a particular footclient instance, only that particular
instance changes theme. This is different from when targeting the
server process, where all instances change theme.

Closes #2156
</content>
</entry>
<entry>
<title>changelog: SIGUSR changes in the server</title>
<updated>2025-07-30T10:38:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-30T10:38:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=70d99a80513f574ac6d74989282b3481572513ce'/>
<id>urn:sha1:70d99a80513f574ac6d74989282b3481572513ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>url-mode: for some reason we sorted the label letters before assigning them</title>
<updated>2025-07-29T09:18:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-29T09:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=83303bd2a461b5917de51d8740999cbdb46e7986'/>
<id>urn:sha1:83303bd2a461b5917de51d8740999cbdb46e7986</id>
<content type='text'>
Don't do this. Now that we **don't** sort them, the first letter
chosen by the user is always assigned to the bottom most URL.

Closes #2140 (again)
</content>
</entry>
<entry>
<title>changelog: add new 'unreleased' section</title>
<updated>2025-07-23T06:31:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-23T06:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=86d63f08ba118f0051b6941353d0a888f4987d75'/>
<id>urn:sha1:86d63f08ba118f0051b6941353d0a888f4987d75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.23.1</title>
<updated>2025-07-23T06:27:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-23T06:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=95e8b18c125c1ad2835ae59204dd0f8b5feaf64b'/>
<id>urn:sha1:95e8b18c125c1ad2835ae59204dd0f8b5feaf64b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: color reset: read default color from currently active theme</title>
<updated>2025-07-22T11:30:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-22T11:30:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fcde74a18150a1722f2be2b7990c2f9b45268854'/>
<id>urn:sha1:fcde74a18150a1722f2be2b7990c2f9b45268854</id>
<content type='text'>
</content>
</entry>
<entry>
<title>shm: don't set pixman_fmt_without_alpha twice</title>
<updated>2025-07-21T11:49:57Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-07-21T11:49:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7ab43ebf7464ab72e2041de0a1112feaa81ea89e'/>
<id>urn:sha1:7ab43ebf7464ab72e2041de0a1112feaa81ea89e</id>
<content type='text'>
When selecting 16-bit surfaces, we set pixman_fmt_without_alpha twice,
and never set pixman_fmt_with_alpha.

This caused 10-bit surfaces to be used instead, since it checks if
pixman_fmt_with_alpha has been overridden or not.
</content>
</entry>
</feed>
