<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/osc.c, branch 1.8.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.8.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-06-04T05:44:00Z</updated>
<entry>
<title>osc: implement iTerm2’s OSC-9 - desktop notifications</title>
<updated>2021-06-04T05:44:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-06-02T15:50:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=405b887a82ec83cf8423378ae4f4f92226998905'/>
<id>urn:sha1:405b887a82ec83cf8423378ae4f4f92226998905</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: implement OSC 17+19: change selection background/foreground colors</title>
<updated>2021-04-08T08:43:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-04-07T06:09:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=55b343f69030c22fcd36b88d2af445acdd69b732'/>
<id>urn:sha1:55b343f69030c22fcd36b88d2af445acdd69b732</id>
<content type='text'>
And of course, we also implement the corresponding reset sequences,
OSC 117+119.
</content>
</entry>
<entry>
<title>osc: reset background alpha when resetting the background color</title>
<updated>2021-04-08T08:41:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-04-07T17:04:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=28c2bea800e5de411d7c52680bf698ca7246f1aa'/>
<id>urn:sha1:28c2bea800e5de411d7c52680bf698ca7246f1aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: parse_legacy_color(): the alpha component is not a floating point number</title>
<updated>2021-04-08T08:41:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-04-07T06:00:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8020c14637d345be246ff09cddd509dc763caf76'/>
<id>urn:sha1:8020c14637d345be246ff09cddd509dc763caf76</id>
<content type='text'>
When using the urxvt extension of the XParseColor format, the alpha
component is not a floating point number, but a decimal number in the
range 0-100.
</content>
</entry>
<entry>
<title>osc: parse_rgb(): ensure ‘alpha’ has been initialized</title>
<updated>2021-04-08T08:41:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-04-05T20:31:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5ff655506d0e4251021c48e7923fbbed2b822810'/>
<id>urn:sha1:5ff655506d0e4251021c48e7923fbbed2b822810</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: add support for URxvt extension to include alpha in OSC-11</title>
<updated>2021-04-08T08:41:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-04-05T20:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ed41bffc287c8f9f2bd442d7ab48ff394ace94a5'/>
<id>urn:sha1:ed41bffc287c8f9f2bd442d7ab48ff394ace94a5</id>
<content type='text'>
There are two variants, either using a ‘[percent]’ prefix for legacy
colors, or using ‘rgba:r/g/b/a’ instead of ‘rgb:r/g/b’.

Closes #436
</content>
</entry>
<entry>
<title>config/terminal: refactor: remove “default_*” color members from terminal struct</title>
<updated>2021-04-07T06:07:43Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-04-07T06:07:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=936063271f391c394ec9204f7f3aff4da5c9203c'/>
<id>urn:sha1:936063271f391c394ec9204f7f3aff4da5c9203c</id>
<content type='text'>
Access the original colors in the configuration instead.
</content>
</entry>
<entry>
<title>osc: verify OSC 4/104 color index is valid</title>
<updated>2021-04-05T19:13:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-04-05T19:06:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4f0c0628a20f89c6238f1f360273ae2556901727'/>
<id>urn:sha1:4f0c0628a20f89c6238f1f360273ae2556901727</id>
<content type='text'>
Closes #434
</content>
</entry>
<entry>
<title>osc-8: fix thinko: can’t use the ID parameters *address* as actual ID</title>
<updated>2021-02-21T19:15:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-14T12:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d44cda11bf435b7687fada29946d4a1cecbc728c'/>
<id>urn:sha1:d44cda11bf435b7687fada29946d4a1cecbc728c</id>
<content type='text'>
Doing so means the next OSC-8 URL emitted by the client application,
with the same ID, will get a *new* id internally.

Instead, hash the string and use that as ID.
</content>
</entry>
<entry>
<title>term: add ‘id’ parameter to term_osc8_open()</title>
<updated>2021-02-21T19:14:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-13T12:44:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b934969b858d8874e480cc9ee7f4ccf5657f6f2a'/>
<id>urn:sha1:b934969b858d8874e480cc9ee7f4ccf5657f6f2a</id>
<content type='text'>
The current OSC-8 URL’s ID is now tracked along with the URI itself,
and its starting point.
</content>
</entry>
<entry>
<title>osc: 8: parse params, and the ‘id’ parameter specifically</title>
<updated>2021-02-21T19:14:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-13T12:41:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ecbfc2bbe9b1964c8b2563b52618393d63dc40ce'/>
<id>urn:sha1:ecbfc2bbe9b1964c8b2563b52618393d63dc40ce</id>
<content type='text'>
Applications can assign an ID to the URL. This is used to associate
the parts of a split up URL with each other:

  ╔═ file1 ════╗
  ║          ╔═ file2 ═══╗
  ║http://exa║Lorem ipsum║
  ║le.com    ║ dolor sit ║
  ║          ║amet, conse║
  ╚══════════║ctetur adip║
             ╚═══════════╝

In the example above, ‘http://exa’ and ‘le.com’ are part of the same
URL, but by necessity split up into two OSC-8 URLs.

If the application sets the same ID for those two OSC-8 URLs, the
terminal can ensure they are handled as one.
</content>
</entry>
<entry>
<title>osc: parse OSC-8, by calling term_osc8_{open,close} as appropriate</title>
<updated>2021-02-21T19:14:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-02-13T11:41:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b55f6925d360dcb8109b90b266c0e9c2fc625b0c'/>
<id>urn:sha1:b55f6925d360dcb8109b90b266c0e9c2fc625b0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debug: rename assert() to xassert(), to avoid clashing with &lt;assert.h&gt;</title>
<updated>2021-01-16T20:16:00Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2021-01-16T20:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e56136ce1192d04a52b01ccb41284f0b7896430e'/>
<id>urn:sha1:e56136ce1192d04a52b01ccb41284f0b7896430e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add xsnprintf() and remove some unnecessary strlen(3) calls</title>
<updated>2021-01-14T21:30:06Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2021-01-14T21:30:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3f4cfa338b5035b3789ea414eab9f139a18d140b'/>
<id>urn:sha1:3f4cfa338b5035b3789ea414eab9f139a18d140b</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
