<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.28.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.28.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.28.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2026-09-02T11:02:11Z</updated>
<entry>
<title>changelog: prepare for 1.28.0</title>
<updated>2026-09-02T11:02:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-09-02T11:02:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=28d2a530d5504089ee00dd35cc0df86fad06f4c4'/>
<id>urn:sha1:28d2a530d5504089ee00dd35cc0df86fad06f4c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: remove support for the deprecated color-theme-switch-{1,2} key bindings</title>
<updated>2026-09-02T11:00:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-09-02T10:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9284ad2d92b2b2a9928e17a305bd595c7723861b'/>
<id>urn:sha1:9284ad2d92b2b2a9928e17a305bd595c7723861b</id>
<content type='text'>
They were deprecated in 1.26.0, along with the 'colors' and 'colors2'
sections.
</content>
</entry>
<entry>
<title>config: remove support for the deprecated colors and colors2 sections</title>
<updated>2026-09-02T10:55:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-09-02T10:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7aad838572248df2902c172b7448bc033ce01964'/>
<id>urn:sha1:7aad838572248df2902c172b7448bc033ce01964</id>
<content type='text'>
They were deprecated in 1.26.0, and replaced by colors-dark and
colors-light.
</content>
</entry>
<entry>
<title>changelog: selection-override-modifiers fixes</title>
<updated>2026-09-02T07:13:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-09-02T07:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2559516b163431b3a865246666e6cb10cf8a1283'/>
<id>urn:sha1:2559516b163431b3a865246666e6cb10cf8a1283</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: re-evaluate mouse col/row coordinates after a window resize</title>
<updated>2026-08-29T17:58:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-08-29T17:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=765ca4070bb6f095fc58c030f2154ed03857701d'/>
<id>urn:sha1:765ca4070bb6f095fc58c030f2154ed03857701d</id>
<content type='text'>
Before this, the col/row coordinates for the mouse pointer was only
updated when the mouse either entered our window, or was moved inside
it.

However, when a window is resized without using the mouse, and the
user then clicks (again, without moving the mouse), we can get a
button event outside the cell grid, that we still think is on top of
the grid.

Example: user moves mouse over the bottom row. The window is
shrunk. Enough that the mouse is now outside the cell grid, but still
inside our window. This means we get a button event outside the
grid. But since we haven't updated the col/row coordinates, we think
it's on a row, that no longer exists.

Closes #2435
</content>
</entry>
<entry>
<title>input: ignore keyboard_enter() with NULL surface</title>
<updated>2026-08-29T17:28:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-08-29T17:28:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=14cd25d4b17408fb09f395b03a5eab0628c7d725'/>
<id>urn:sha1:14cd25d4b17408fb09f395b03a5eab0628c7d725</id>
<content type='text'>
It's a compositor bug to emit a keyboard_enter() event with a NULL
surface, but has been seen happening on Hyprland. Workaround by
ignoring the event.

Closes #2438
</content>
</entry>
<entry>
<title>Add support for file:// URLs for initial working directory</title>
<updated>2026-08-29T08:10:21Z</updated>
<author>
<name>airkoala</name>
<email>airkoala@airkoala.lol</email>
</author>
<published>2026-06-17T04:40:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ab7b5a635cd5d7545831a1341278a9fec8499c30'/>
<id>urn:sha1:ab7b5a635cd5d7545831a1341278a9fec8499c30</id>
<content type='text'>
This will allow for foot to be registered as a MIME type handler for
directories, allowing a "open with foot" action via xdg-open.

Some applications pass a simple directory path (eg. qbittorrent) but
others pass it as a "file://" URL (lutris), which is also sometimes
percent-encoded (calibre) but sometimes not.

This patch should be able to handle all 3 of these variants.
</content>
</entry>
<entry>
<title>changelog: mouse grabbing without keymap</title>
<updated>2026-08-29T08:04:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-08-29T08:04:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=dac1e8616b0240a15639bb629ed69bf3a83437d5'/>
<id>urn:sha1:dac1e8616b0240a15639bb629ed69bf3a83437d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wayland: clear touch focus in wayl_win_destroy()</title>
<updated>2026-08-29T07:55:45Z</updated>
<author>
<name>Marinus Klasen</name>
<email>marinus@mklasen.nl</email>
</author>
<published>2026-08-19T21:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f8a367896a57d84967d7b537ee618aae8081e2ea'/>
<id>urn:sha1:f8a367896a57d84967d7b537ee618aae8081e2ea</id>
<content type='text'>
wl_touch has no leave event, so unmapping the surfaces cannot drop touch
focus the way it drops keyboard and pointer focus. seat-&gt;touch.surface
kept pointing at the window being destroyed, and seat-&gt;touch.state stayed
HELD/DRAGGING, so the guard in wl_touch_up() and wl_touch_motion() did not
fire. A wl_touch.up dispatched from the roundtrips in wayl_win_destroy()
then dereferenced the freed window:

    #0  wl_touch_up () at input.c:3587
    #12 wayl_roundtrip () at wayland.c:2416
    #13 wayl_win_destroy () at wayland.c:2297

Reproduced by touching a foot window and holding while the window is
destroyed: 3/3 crashes before, 0/7 after.
</content>
</entry>
<entry>
<title>wayland: handle_global_remove(): call wl_fixes::ack_global_remove(), when available</title>
<updated>2026-08-19T04:44:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-07-30T09:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=85655c74a4ded119392ea8b632626c3920042807'/>
<id>urn:sha1:85655c74a4ded119392ea8b632626c3920042807</id>
<content type='text'>
wayland 1.26 adds wl_fixes::ack_global_remove(). Clients should call
it when they've received a global_remove() event, after doing internal
cleanup.

Not tested yet:

* Waiting for arch to update wayland to 1.26
* None of the compositors I use (or test on) implement it yet.
</content>
</entry>
<entry>
<title>changelog: window urgency on notification activation without XDG token</title>
<updated>2026-08-06T10:57:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-08-06T10:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a635e0a196d9adbe1088d03e08d3e312206c640d'/>
<id>urn:sha1:a635e0a196d9adbe1088d03e08d3e312206c640d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminal: add visibility reports</title>
<updated>2026-07-30T12:18:58Z</updated>
<author>
<name>Tim Culverhouse</name>
<email>tim@timculverhouse.com</email>
</author>
<published>2026-07-28T19:16:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8db88cceb758b5be23e7db1fe74a48102ab07dc0'/>
<id>urn:sha1:8db88cceb758b5be23e7db1fe74a48102ab07dc0</id>
<content type='text'>
Applications cannot infer whether their terminal view is observable from
keyboard focus alone, so they may continue expensive rendering while the
surface is hidden.

Implement private mode 2033 and the one-shot visibility query. Report
Wayland xdg_toplevel suspension as not visible and otherwise remain
conservative by treating the terminal as potentially visible.

Amp-Thread-ID: https://ampcode.com/threads/T-019fb2b7-f245-7124-a69a-1484812532bb
Co-authored-by: Amp &lt;amp@ampcode.com&gt;
</content>
</entry>
<entry>
<title>changelog: add missing bug reference</title>
<updated>2026-07-30T10:13:16Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-07-30T10:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=120ddb5bf2502315848b2f3755c6318af885be95'/>
<id>urn:sha1:120ddb5bf2502315848b2f3755c6318af885be95</id>
<content type='text'>
</content>
</entry>
<entry>
<title>render: fix broken selection on delayed resize</title>
<updated>2026-07-30T05:37:16Z</updated>
<author>
<name>CismonX</name>
<email>admin@cismon.net</email>
</author>
<published>2026-07-29T00:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=56d15238d1a61a539171667e5713cd6939c08d07'/>
<id>urn:sha1:56d15238d1a61a539171667e5713cd6939c08d07</id>
<content type='text'>
Interactive resize of a terminal window breaks current selection,
if scrollback is not empty, and option 'resize-delay-ms' is not 0.

This behavior is introduced by commit 296e75f4f5, which:

- Subtracts selection row by view offset every time render_resize()
  is called, resulting in bad coordinates.

- Does not properly restore the original selection coordinates
  during the final text reflow stage.
</content>
</entry>
<entry>
<title>selection: fixed segfault when quote is on newline</title>
<updated>2026-07-30T05:17:14Z</updated>
<author>
<name>Emily Vlasics</name>
<email>e.vlasics@mail.utoronto.ca</email>
</author>
<published>2026-07-29T03:11:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5913184de4bfd945bec70333a752e02dac0b8500'/>
<id>urn:sha1:5913184de4bfd945bec70333a752e02dac0b8500</id>
<content type='text'>
Closes #2405
</content>
</entry>
<entry>
<title>changelog: default URL regex updated</title>
<updated>2026-07-26T17:38:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-07-26T14:10:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e5916a027c1037c8aa2e3fdfd728d3d41115b2b5'/>
<id>urn:sha1:e5916a027c1037c8aa2e3fdfd728d3d41115b2b5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xmalloc: avoid using reallocarray(3) to implement xreallocarray()</title>
<updated>2026-07-21T09:00:52Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2026-07-13T10:48:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=da7bdf8ab7dc999009b6b83d3354066c18ec4f38'/>
<id>urn:sha1:da7bdf8ab7dc999009b6b83d3354066c18ec4f38</id>
<content type='text'>
See the added comment for reasoning.

The reallocarray(3) function in libc could have been used conditionally,
when available, but since it can be implemented simply and efficiently,
the portable version may just as well be used in all cases.

See also:

* https://pubs.opengroup.org/onlinepubs/9799919799/functions/reallocarray.html#:~:text=adding-,reallocarray
* https://android.googlesource.com/platform/bionic/+/HEAD/docs/status.md#:~:text=reallocarray
* https://github.com/termux/termux-packages/tree/26826aec834182c/x11-packages/foot
* https://github.com/termux/termux-packages/blob/26826aec834182c/x11-packages/foot/reallocarray.c#L6
* https://github.com/termux/termux-packages/blob/26826aec834182c/x11-packages/foot/xmalloc.c.patch#L7
* https://github.com/termux/termux-packages/pull/17818
* https://github.com/termux/termux-packages/issues/23833 (see expanded build log)
</content>
</entry>
<entry>
<title>selection: fix word boundary check</title>
<updated>2026-07-21T08:56:02Z</updated>
<author>
<name>CismonX</name>
<email>admin@cismon.net</email>
</author>
<published>2026-07-10T15:16:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=11e3fa0d59da71267e5c7f5cb16c502d15901eb7'/>
<id>urn:sha1:11e3fa0d59da71267e5c7f5cb16c502d15901eb7</id>
<content type='text'>
This patch fixes rightmost boundary check for a word wrapped to
another line, where a multi-column character appears as the last
character in the original line.

Closes #2411
</content>
</entry>
<entry>
<title>notify: fix crash in notify_done() when terminal has been closed before notification</title>
<updated>2026-06-23T15:30:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-06-23T15:20:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ebaa878dcee487cb70483a25fad0a03eeccac2aa'/>
<id>urn:sha1:ebaa878dcee487cb70483a25fad0a03eeccac2aa</id>
<content type='text'>
In server mode, if a terminal instance triggered a tracked
notification (e.g. a bell notification, or a kitty notification), then
the foot server crashed if the terminal instance was closed before the
notification.

This happened because the notify_done() callback's user supplied
argument was the terminal instance, and this pointer was not verified
before it was de-referenced.

Fix by searching the wayland global's list of terminal instances, and
ignore the callback if the wanted terminal instance is gone.

Closes #2397
</content>
</entry>
<entry>
<title>main/client: add --class, an alias for --app-id</title>
<updated>2026-06-20T16:13:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2026-06-20T16:13:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=73e6d21000460cba7b511d984d34112f512a7f29'/>
<id>urn:sha1:73e6d21000460cba7b511d984d34112f512a7f29</id>
<content type='text'>
This is to help e.g. scripts that wants to launch terminal instances
in a terminal agnostic way.

Many terminals were originally for X11, where the '--class' choice was
obvious. When they were ported to Wayland, it made sense for them to
keep the '--class' command line option, but have it set the
application ID instead (since "class" is not a thing on Wayland).

Let's add the alias, but minimally documented. We don't want to
_encourage_ its use after all.

Closes #2368
</content>
</entry>
</feed>
