<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git, 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:58Z</updated>
<entry>
<title>meson: bump version to 1.25.0</title>
<updated>2025-10-16T06:46:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-16T06:46:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b44a62724cd51c7fecdfd9d1b41a3691b11a4c27'/>
<id>urn:sha1:b44a62724cd51c7fecdfd9d1b41a3691b11a4c27</id>
<content type='text'>
</content>
</entry>
<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>render: don't warn about immediate buffer release if pre-apply-damage has been activated</title>
<updated>2025-10-16T06:45:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-16T06:45:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=612adda3842fcdbbc9b7e1e2f46be02a224da1eb'/>
<id>urn:sha1:612adda3842fcdbbc9b7e1e2f46be02a224da1eb</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>fix: jump labels are more readable</title>
<updated>2025-10-10T08:35:01Z</updated>
<author>
<name>Matthias Heyman</name>
<email>matthias.heyman@ebo-enterprises.com</email>
</author>
<published>2025-09-26T08:59:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e308a4733e4149b661457c9a275e48d9dbeaf23f'/>
<id>urn:sha1:e308a4733e4149b661457c9a275e48d9dbeaf23f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: restore opacity after exiting fullscreen</title>
<updated>2025-10-10T08:30:05Z</updated>
<author>
<name>Charalampos Mitrodimas</name>
<email>charmitro@posteo.net</email>
</author>
<published>2025-10-01T21:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fd88c6c61c52b75789c7f9d723815b67aed2984f'/>
<id>urn:sha1:fd88c6c61c52b75789c7f9d723815b67aed2984f</id>
<content type='text'>
When exiting fullscreen mode, the window's transparency was not being
restored, leaving it opaque until another window was fullscreened.

This occurred because the Wayland opaque region was set based only on
the configured alpha value, without considering the fullscreen state.

Since commit

  899b768b74 ("render: disable transparency when we're fullscreened")

transparency is disabled during fullscreen to avoid
compositor-mandated black backgrounds affecting the intended colors.
However, the opaque region was not being updated when the fullscreen
state changed.

Fixes: https://codeberg.org/dnkl/foot/issues/2180
Signed-off-by: Charalampos Mitrodimas &lt;charmitro@posteo.net&gt;
</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>doc: foot.ini: document tweak.min-stride-alignment</title>
<updated>2025-10-05T07:40:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-04T13:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e43ea3676fe359864a8a22a31beed5bf289f367c'/>
<id>urn:sha1:e43ea3676fe359864a8a22a31beed5bf289f367c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>shm: page-align the memfd size (also needed for GPU direct import)</title>
<updated>2025-10-05T07:40:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-04T08:50:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bd994eda1c816d5430a9c4cdb7089e43c47d74ae'/>
<id>urn:sha1:bd994eda1c816d5430a9c4cdb7089e43c47d74ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add tweak.min-stride-alignment</title>
<updated>2025-10-05T07:40:20Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-04T07:29:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fac399415452edba6f20986e5f8fa479863582fe'/>
<id>urn:sha1:fac399415452edba6f20986e5f8fa479863582fe</id>
<content type='text'>
This allows the user to configure the value by which a surface
buffer's stride must be an even multiple of.

This can be used to ensure the stride meets the GPU driver's
requirements for direct import.

Defaults to 256. Set to 0 to disable.

Closes #2182
</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>Revert "term: erase: use erase_line() whenever a range corresponds to a full line"</title>
<updated>2025-10-04T05:21:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-10-04T05:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1dfa86c93ac3585b1b8b6ff3d8617176a57942c3'/>
<id>urn:sha1:1dfa86c93ac3585b1b8b6ff3d8617176a57942c3</id>
<content type='text'>
This reverts commit 44a674edb86f2f8db3304d76faf567346dcd7d94.

It caused a regression with prompt markers, in at least fish+starship.
</content>
</entry>
<entry>
<title>term: erase: use erase_line() whenever a range corresponds to a full line</title>
<updated>2025-09-25T14:57:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-09-25T14:57:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=44a674edb86f2f8db3304d76faf567346dcd7d94'/>
<id>urn:sha1:44a674edb86f2f8db3304d76faf567346dcd7d94</id>
<content type='text'>
</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>Merge branch 'releases/1.24'</title>
<updated>2025-09-12T08:22:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-09-12T08:22:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=363477fa0d4ea68fbbfb67165df9f61000b8e164'/>
<id>urn:sha1:363477fa0d4ea68fbbfb67165df9f61000b8e164</id>
<content type='text'>
</content>
</entry>
<entry>
<title>meson: bump version to 1.24.0</title>
<updated>2025-09-12T08:18:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2025-09-12T08:18:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fa0fd2f50f41d8fc47241dd576be42a2f29d6530'/>
<id>urn:sha1:fa0fd2f50f41d8fc47241dd576be42a2f29d6530</id>
<content type='text'>
</content>
</entry>
</feed>
