<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/osc.c, branch 1.6.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.6.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-12-10T17:06:24Z</updated>
<entry>
<title>notify: break out desktop notifications from osc.c</title>
<updated>2020-12-10T17:06:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-10T17:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=03cbb6ad90045085442ac01e2bf4f63585809c1a'/>
<id>urn:sha1:03cbb6ad90045085442ac01e2bf4f63585809c1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: implement urxvt’s “OSC 777;notify”</title>
<updated>2020-12-09T19:54:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-12-08T18:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=21cc68d49e94f3a385afc2bf59c5f7d88f9ad802'/>
<id>urn:sha1:21cc68d49e94f3a385afc2bf59c5f7d88f9ad802</id>
<content type='text'>
OSC 777 is URxvt’s generic escape to send commands to its perl
extensions. The first parameter is the name of the extension, followed
by its arguments.

OSC 777;notify is a, if not well established, at least a fairly well
known escape sequence to request a (desktop) notification. The syntax
is:

  \e]777;notify;&lt;title&gt;;&lt;body&gt;\e\\

Neither title nor body is escaped in any way, meaning they should not
contain a ‘;’.

Foot will split title from body at the *first* ‘;’. Any remaining ‘;’
characters are treated as part of ‘body’.

Instead of adding built-in support for the freedesktop notification
specification (which would require us to link against at least dbus),
add a new config option to foot.ini: ‘notify’.

This option specifies the command to execute when a notification is
received. ‘${title}’ and ‘${body}’ can be used anywhere, in any
combination, and as many times as you want, in any of the command
arguments.

The default value is ‘notify-send -a foot -i foot ${title} ${body}’
</content>
</entry>
<entry>
<title>term: remove read-only properties copied from the config</title>
<updated>2020-11-26T17:08:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-11-26T17:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=360cc8e6de8802015b3a4a744289c311beb8d82d'/>
<id>urn:sha1:360cc8e6de8802015b3a4a744289c311beb8d82d</id>
<content type='text'>
Use the config directly instead.
</content>
</entry>
<entry>
<title>osc: use new uri_parse() to parse an OSC7 PWD URI</title>
<updated>2020-10-28T18:11:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-28T18:11:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=cad0ae957dbbd2363f1b9bbbc7c1d8034d367bb5'/>
<id>urn:sha1:cad0ae957dbbd2363f1b9bbbc7c1d8034d367bb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: change info logging to debug logging when changing the cursor color</title>
<updated>2020-10-20T19:03:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-10-20T19:03:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b507d3a55ec2342a95cfec7028b04eb192edfde3'/>
<id>urn:sha1:b507d3a55ec2342a95cfec7028b04eb192edfde3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: don’t explicitly call render_refresh() when changing the color palette</title>
<updated>2020-09-29T08:05:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-29T08:05:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=edb904a1877324ae4977c8a38596487518c9e1a8'/>
<id>urn:sha1:edb904a1877324ae4977c8a38596487518c9e1a8</id>
<content type='text'>
Doing so will schedule the renderer “as soon as possible”. I.e we’re
by-passing the regular scheduler, and thus we’re by-passing the user’s
setting of the delayed-render-* timers.

The fact that we’re scheduling “as soon as possible” also means we’re
much more likely to trigger flickering, or color flashes, if the
application is changing colors which are on the screen.

To handle changes to the cursor color(s), use the new
term_damage_cursor() instead of render_refresh().

To handle background color changes, which affect the margins, use the
new term_damage_margins() instead of render_refresh_margins(),

Closes #141
</content>
</entry>
<entry>
<title>osc52: use first source that actually *has* data</title>
<updated>2020-09-09T17:01:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-09T16:46:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=419bd87098a068f398db10d9c5cab5e40a01a2ca'/>
<id>urn:sha1:419bd87098a068f398db10d9c5cab5e40a01a2ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc52: unset (clear) selection when an invalid payload is received</title>
<updated>2020-09-09T17:01:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-09T16:46:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=776b831d89ff873ce1daf4e65e5eb13e808914a7'/>
<id>urn:sha1:776b831d89ff873ce1daf4e65e5eb13e808914a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: explicitly refresh margins on a background color change</title>
<updated>2020-09-01T05:34:41Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-01T05:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d579c0e1e4f1cfd6d54a80e69c763003d337125a'/>
<id>urn:sha1:d579c0e1e4f1cfd6d54a80e69c763003d337125a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't use "case X ... Y:", if possible/where it makes sense</title>
<updated>2020-08-23T08:07:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-23T07:37:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=aa3985a298d7770ef780324adea3ba0fe75b4e09'/>
<id>urn:sha1:aa3985a298d7770ef780324adea3ba0fe75b4e09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: dirty grids on *all* color modifying sequences</title>
<updated>2020-08-18T15:54:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-18T05:20:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3e1636c0136a1620aad9d2f2bfc8456b03a65f2b'/>
<id>urn:sha1:3e1636c0136a1620aad9d2f2bfc8456b03a65f2b</id>
<content type='text'>
We only updated the grid for OSC 4 - Set color &lt;idx&gt;. But we did *not*
do it for 104 (reset color &lt;idx&gt;), 10 - set default foreground, 11 -
set default background, 110 - reset default foreground, or 111 - reset
default background.
</content>
</entry>
<entry>
<title>Fix some spelling mistakes</title>
<updated>2020-08-15T18:39:00Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-08-15T18:39:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=104fe2fa55b113212899bea893a13fe7b3467156'/>
<id>urn:sha1:104fe2fa55b113212899bea893a13fe7b3467156</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert most dynamic allocations to use functions from xmalloc.h</title>
<updated>2020-08-08T19:37:57Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-08-08T19:34:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7a77958ba20c2b344be5e66e69e2f212a4bbf6b3'/>
<id>urn:sha1:7a77958ba20c2b344be5e66e69e2f212a4bbf6b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace non-portable "\e" escape in string literals with "\033"</title>
<updated>2020-08-02T22:54:04Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2020-08-02T22:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=11a1d99da732cad13995dcbfc04b6559b5255d01'/>
<id>urn:sha1:11a1d99da732cad13995dcbfc04b6559b5255d01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>seat: use separate 'enter' serials for keyboard and mouse</title>
<updated>2020-07-09T09:20:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-09T09:20:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=71584aed388935908588686e5df7ec42855f3698'/>
<id>urn:sha1:71584aed388935908588686e5df7ec42855f3698</id>
<content type='text'>
</content>
</entry>
<entry>
<title>multi-seat: re-enable OSC 52 support</title>
<updated>2020-07-08T17:28:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-08T17:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=11373a65616e4062dc625021b4259e8d227ed5e8'/>
<id>urn:sha1:11373a65616e4062dc625021b4259e8d227ed5e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wip: multi-seat support</title>
<updated>2020-07-08T14:45:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-08T14:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c47082506714f458e999f6ff1bf3099dfc4c0c0c'/>
<id>urn:sha1:c47082506714f458e999f6ff1bf3099dfc4c0c0c</id>
<content type='text'>
Compiles and runs, but mouse, clipboard and other things have been
disabled.
</content>
</entry>
<entry>
<title>osc: set color: update both grids, but exclude scrollback</title>
<updated>2020-06-14T07:34:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-06-14T07:34:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c94cbdeb647cf66d20a9338a7171c2fd4299b208'/>
<id>urn:sha1:c94cbdeb647cf66d20a9338a7171c2fd4299b208</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: 'Set Color' now updates already rendered cells in current grid</title>
<updated>2020-06-11T15:13:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-06-11T15:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=957e482f458e62e00714745d871e070140a5b7bb'/>
<id>urn:sha1:957e482f458e62e00714745d871e070140a5b7bb</id>
<content type='text'>
Since we don't have the original palette index in already rendered
cells, we compare the color *value*. If it matches, we assume this was
the color index used, and updates the cell's color.

Note that for performance reasons, we only update the current
grid. This is of course wrong, strictly speaking.

However, it is expected that _Set Color_ is used by full-screen
applications using the alternate grid.
</content>
</entry>
<entry>
<title>osc: don't assert on \E]4 being followed by a ';'</title>
<updated>2020-06-09T15:33:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-06-09T15:33:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f72c982c896c35ad71d366a06684229c04e3ed54'/>
<id>urn:sha1:f72c982c896c35ad71d366a06684229c04e3ed54</id>
<content type='text'>
This fixes a crash (in debug builds) that could be triggered by
e.g. cat:ing /dev/urandom.
</content>
</entry>
</feed>
