<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/CHANGELOG.md, branch 1.17.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.17.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.17.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2024-04-17T09:26:25Z</updated>
<entry>
<title>changelog: prepare for 1.17.2</title>
<updated>2024-04-17T09:26:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-17T09:26:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f2fbef1f820c98f38f512db4a2aadf7acb928e79'/>
<id>urn:sha1:f2fbef1f820c98f38f512db4a2aadf7acb928e79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: stash last known DPI, and use after a unmapped/mapped sequence</title>
<updated>2024-04-17T07:14:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-17T06:35:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7c20fb247c977fe545b1ef0ce9d8935b0424bf70'/>
<id>urn:sha1:7c20fb247c977fe545b1ef0ce9d8935b0424bf70</id>
<content type='text'>
A compositor may unmap, and then remap the window, for example when
the window is minimized, or if the user switches workspace.

With DPI aware rendering, we *need* to know on which output we're
mapped, in order to use the correct DPI. This means the first frame we
render, before being mapped, always guesses the DPI.

In an unmap/map sequence, guessing the wrong DPI means the window will
flicker.

Fix by stashing the last used DPI value, and use that instead of
guessing.

This means the *only* time we _actually_ guess the DPI, is the very
first frame, when starting up foot.
</content>
</entry>
<entry>
<title>sixel: don't allow pan/pad changes after sixel data has been emitted</title>
<updated>2024-04-15T14:07:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-15T14:07:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3d2588edf8a90a7ba74d75089193a52b69905a4f'/>
<id>urn:sha1:3d2588edf8a90a7ba74d75089193a52b69905a4f</id>
<content type='text'>
Changing pan/pad changes the sixel's aspect ratio. While I don't know
for certain what a real VT340 would do, I suspect it would change the
aspect ratio of all subsequent sixels, but not those already emitted.

The way we implement sixels in foot, makes this behavior hard to
implement. We currently don't resize the image properly if the aspect
ratio is changed, but not the RA area. We have code that assumes all
sixel lines have the same aspect ratio, etc.

Since no "normal" applications change the aspect ratio in the middle
of a sixel, simply disallow it, and print a warning.

This also fixes a crash, when writing sixels after having modified the
aspect ratio.
</content>
</entry>
<entry>
<title>sixel: also set 'alloc_height', when short-cutting a resize operation</title>
<updated>2024-04-15T14:05:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-15T14:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0ab05f480789c0ccd452ed4d7f678d3e4fa36874'/>
<id>urn:sha1:0ab05f480789c0ccd452ed4d7f678d3e4fa36874</id>
<content type='text'>
In some cases, a sixel may be resized vertically, while still having a
zero-width. In this case, the resize operations are short-cutted, and
no actual allocations are done.

However, we forgot to set 'alloc_height' when doing so. As a result,
the trimming code (when the sixel is "done"), trimmed away the entire
sixel.
</content>
</entry>
<entry>
<title>term: don't print outside grid when printing multi-column characters</title>
<updated>2024-04-15T14:03:30Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-15T14:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=71ce17d97795419c3fe5d28132e387f27e2ca958'/>
<id>urn:sha1:71ce17d97795419c3fe5d28132e387f27e2ca958</id>
<content type='text'>
When auto-wrap is disabled, a multi-column character may be printed on
a line that doesn't fit the entire character. That is, the "spacers"
we print, as place holders in the columns after the first one, may
reach outside the grid.

We did (try to) check for this, but the check was off by one. Meaning,
we could, in some cases, print outside the grid.
</content>
</entry>
<entry>
<title>osc: reject notifications with invalid UTF-8 strings</title>
<updated>2024-04-15T14:02:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-15T14:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=23ada09d149140b7a38d376dd4fd7e2c3da589aa'/>
<id>urn:sha1:23ada09d149140b7a38d376dd4fd7e2c3da589aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: add a new 'unreleased' section</title>
<updated>2024-04-11T13:32:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-11T13:32:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4fd26c251cd66029b8aab739ee2e77a6904b5bed'/>
<id>urn:sha1:4fd26c251cd66029b8aab739ee2e77a6904b5bed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.17.1</title>
<updated>2024-04-11T13:28:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-11T13:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=accefc3ae14e84d08b57f5523ec05b896dbb5bce'/>
<id>urn:sha1:accefc3ae14e84d08b57f5523ec05b896dbb5bce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add new key-binding 'quit', unbound by default</title>
<updated>2024-04-11T13:12:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-10T17:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b400903e25de321dffd310e30d76dad121ccceb1'/>
<id>urn:sha1:b400903e25de321dffd310e30d76dad121ccceb1</id>
<content type='text'>
Closes #1475
</content>
</entry>
<entry>
<title>config: add cursor.unfocused-style</title>
<updated>2024-04-10T14:24:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-09T14:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e5a2ac4b57c18556e2245ecbf2e4faeef46e2b9d'/>
<id>urn:sha1:e5a2ac4b57c18556e2245ecbf2e4faeef46e2b9d</id>
<content type='text'>
This option controls how we render the cursor when the terminal window
is unfocused.

Possible values are:

* hollow: the default, and how we rendered the cursor before this
  patch.
* unchanged: render the cursor exactly the same way as when the window
  is focused.
* none: do not render any cursor at all

Closes #1582
</content>
</entry>
<entry>
<title>dcs: DECRQSS: fix off-by-one when checking for space in the DCS buffer</title>
<updated>2024-04-10T03:44:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-10T03:44:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9287946b3672d21fabd70ba4aeebc5a63e6259f9'/>
<id>urn:sha1:9287946b3672d21fabd70ba4aeebc5a63e6259f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: send SIGHUP before SIGTERM when shutting down</title>
<updated>2024-04-05T17:34:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-05T14:27:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7f4328e0b1d5e47aa096c0d3cd8bfea143f80a91'/>
<id>urn:sha1:7f4328e0b1d5e47aa096c0d3cd8bfea143f80a91</id>
<content type='text'>
If we're the ones initiating shutdown, start by sending SIGHUP. Only
if the client application does not terminate, send SIGTERM (and if it
still refuses to terminate, send SIGKILL).

Also reduce the timeout between the signals from 60s to 30s.
</content>
</entry>
<entry>
<title>term: don't shutdown terminal when PTY is closed, unless --pty was used</title>
<updated>2024-04-05T16:45:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-05T14:22:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c7848c4e75c3cb5704378137c5b5c989135f81b1'/>
<id>urn:sha1:c7848c4e75c3cb5704378137c5b5c989135f81b1</id>
<content type='text'>
Unless --pty has been used, we do *not* want to shutdown the terminal
when the PTY is closed by the client application; we want to wait for
the client application to actually terminate.

This was the behavior before the --pty patch.

This was changed in the --pty patch, since then, we don't *have* a
client application. That is, foot has not forked+exec:ed anything. The
only way to trigger a shutdown (from the client side) is to close the
PTY.

This patch restores the old behavior, when --pty is *not* used.

Closes #1666
</content>
</entry>
<entry>
<title>log: fix syslog not respecting the configured log level</title>
<updated>2024-04-05T14:19:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-05T14:19:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4f1aaccf812b5ed5f1cf12184ac970b396519f23'/>
<id>urn:sha1:4f1aaccf812b5ed5f1cf12184ac970b396519f23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: add new 'unreleased' section</title>
<updated>2024-04-02T14:34:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-02T14:34:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=51e8b4f533b7f8b4db7ee89b72dc333fc337d92c'/>
<id>urn:sha1:51e8b4f533b7f8b4db7ee89b72dc333fc337d92c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: prepare for 1.17.0</title>
<updated>2024-04-02T14:27:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-02T14:27:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d5dc0b2f49d083a5a23ea93f60010cd9ad190939'/>
<id>urn:sha1:d5dc0b2f49d083a5a23ea93f60010cd9ad190939</id>
<content type='text'>
</content>
</entry>
<entry>
<title>changelog: move DECRQM for private mode 67 from "added" to "changed"</title>
<updated>2024-04-01T06:49:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-04-01T06:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=82c1a28e6f8d4290b7de421837b44e6acadcda9e'/>
<id>urn:sha1:82c1a28e6f8d4290b7de421837b44e6acadcda9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminfo: tighten up the rv/xr regular expressions</title>
<updated>2024-03-29T10:40:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-03-29T10:40:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3d0d9036fdfa555a442ed9b94224b6b73aa82d44'/>
<id>urn:sha1:3d0d9036fdfa555a442ed9b94224b6b73aa82d44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminfo: add 'nel' capability</title>
<updated>2024-03-29T10:40:35Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-03-29T10:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8e79ceba9e6fee212ba53bab444cb504d1cff69b'/>
<id>urn:sha1:8e79ceba9e6fee212ba53bab444cb504d1cff69b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminfo: add fe/fd (focus enable/disable)</title>
<updated>2024-03-29T10:40:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-03-29T10:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a34ae5d527616c33a0f544e82db56cba9a14e0e4'/>
<id>urn:sha1:a34ae5d527616c33a0f544e82db56cba9a14e0e4</id>
<content type='text'>
These are new capabilities, recently added to ncurses. Applications
are supposed to use these, instead of XM (to enable focus events). So,
remove "CSI ? 1004h" from XM.
</content>
</entry>
</feed>
