<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/osc.c, branch 1.1.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.1.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.1.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2019-12-21T18:42:59Z</updated>
<entry>
<title>osc: implement OSC 7 - set PWD</title>
<updated>2019-12-21T18:42:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-21T18:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c3a23cf5b7a06ed5e218c6bf912aa666836857fc'/>
<id>urn:sha1:c3a23cf5b7a06ed5e218c6bf912aa666836857fc</id>
<content type='text'>
OSC 7 updates the terminal's view of the current working
directory. The format is OSC 7;URI ST

We decode the URI and updates the term structs 'cwd' member.

This is then used when spawning a new terminal instance.
</content>
</entry>
<entry>
<title>osc: spell "#if 0" correctly</title>
<updated>2019-12-19T18:55:52Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-19T18:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d6065ef659410e157a24c138863382ae16f8c20a'/>
<id>urn:sha1:d6065ef659410e157a24c138863382ae16f8c20a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: commented out beginning of OSC 777</title>
<updated>2019-12-19T06:28:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-19T06:28:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e7abd6ce9736fd04ae3e972bc95bb3a029de45a0'/>
<id>urn:sha1:e7abd6ce9736fd04ae3e972bc95bb3a029de45a0</id>
<content type='text'>
I haven't decided if I want to support this
</content>
</entry>
<entry>
<title>csi/ocs/vt: log unhandled/unrecognized sequences as debug messages</title>
<updated>2019-11-29T22:59:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-29T22:59:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=616896e2a52e0223d83f2625f96c67093b88e463'/>
<id>urn:sha1:616896e2a52e0223d83f2625f96c67093b88e463</id>
<content type='text'>
Having them as error messages was nice when we where still missing
lots of sequences.

Now we don't anymore, and these just spam stdout as well as syslog
when e.g. cat:ing binary data.
</content>
</entry>
<entry>
<title>osc 52: default to 'clipboard' if no source/target has been specified</title>
<updated>2019-11-28T19:56:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-28T19:56:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b58fd1c205ba585c915deeaa648d26de577dd6c5'/>
<id>urn:sha1:b58fd1c205ba585c915deeaa648d26de577dd6c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: copy to/from clipboard: alias 's' to 'p'</title>
<updated>2019-11-19T13:05:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-19T13:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=19803456182a55ca2af67207187d88b9cf33033a'/>
<id>urn:sha1:19803456182a55ca2af67207187d88b9cf33033a</id>
<content type='text'>
'p' means 'primary', while 's' means 'selection'. Thus, a client can
now request 'selection' clipboard data and will receive it from the
primary selection.
</content>
</entry>
<entry>
<title>selection: text_from_{clipboard,primary}: add 'done' callback</title>
<updated>2019-11-05T07:49:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-05T07:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b15032d223115ad0f65a182804ba914bf0fcc51b'/>
<id>urn:sha1:b15032d223115ad0f65a182804ba914bf0fcc51b</id>
<content type='text'>
This callback is *always* called, including when there has been an
error.

This is in preparation for making text_from_{clipboard,primary}
asynchronous.
</content>
</entry>
<entry>
<title>Rename: vt_to_slave() -&gt; term_to_slave()</title>
<updated>2019-11-02T23:52:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-11-02T23:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9f1525aef778508e4fb12292693be5649c4c8c5a'/>
<id>urn:sha1:9f1525aef778508e4fb12292693be5649c4c8c5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: wayland struct is now not a part of the terminal struct</title>
<updated>2019-10-27T17:51:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T17:51:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1adab32906b5455781921b779019a6d3f0e4fe56'/>
<id>urn:sha1:1adab32906b5455781921b779019a6d3f0e4fe56</id>
<content type='text'>
We do however need access to it, so provide a pointer. The difference
is that now we can have a *single* wayland instance, but multiple
terminal instances.
</content>
</entry>
<entry>
<title>wayland: change all wayland callbacks to take a wayland pointer</title>
<updated>2019-10-27T17:43:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-10-27T17:43:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9f0b1f94c284e76ff1579e7f34f4a7418ef98b02'/>
<id>urn:sha1:9f0b1f94c284e76ff1579e7f34f4a7418ef98b02</id>
<content type='text'>
Instead of passing the terminal to the wayland callbacks, pass a
'struct wayland' pointer.
</content>
</entry>
<entry>
<title>osc: xparsecolor: parse 'legacy' colors</title>
<updated>2019-08-28T15:29:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-28T15:29:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f1e94aef2cccc551037cac33469af07e3dc97394'/>
<id>urn:sha1:f1e94aef2cccc551037cac33469af07e3dc97394</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: add debug logs when colors are changed and reset</title>
<updated>2019-08-21T16:54:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-21T16:54:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=675504308a44274a5cc606abbb299fc439aa4589'/>
<id>urn:sha1:675504308a44274a5cc606abbb299fc439aa4589</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: rename colors256 -&gt; table</title>
<updated>2019-08-21T16:50:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-21T16:50:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d8fb80ea32d3054ea0455b841e60677c86470fbb'/>
<id>urn:sha1:d8fb80ea32d3054ea0455b841e60677c86470fbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: use colors256 array for *all* colors</title>
<updated>2019-08-21T16:47:48Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-21T16:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=631e0c0870d98a4b3f97c90a8f3d07d549fdf8fb'/>
<id>urn:sha1:631e0c0870d98a4b3f97c90a8f3d07d549fdf8fb</id>
<content type='text'>
That is, remove the 'regular' and 'bright' color arrays. This is
possible since the 256-color array is defined such that the first 16
colors map to the regular and bright colors.
</content>
</entry>
<entry>
<title>osc: fix indexing into 'bright' color array</title>
<updated>2019-08-21T16:02:18Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-21T16:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=65e4b93a036461a807d193af9e6c3f974e5031d4'/>
<id>urn:sha1:65e4b93a036461a807d193af9e6c3f974e5031d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: implement "change color" commands</title>
<updated>2019-08-21T15:57:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-21T15:57:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=52ece3592c6befabf585571e74f144fb500b4cce'/>
<id>urn:sha1:52ece3592c6befabf585571e74f144fb500b4cce</id>
<content type='text'>
This implements OSC 4, 10, 11 - change &lt;color&gt;/foreground/background,
and their corresponding 'query' variant (which was already implemented
for OSC 10/11).

It also implements OSC 104, 110, 111 - reset
&lt;color&gt;/foreground/background.

Set corresponding terminfo entries to signal this support to clients.
</content>
</entry>
<entry>
<title>osc: implement copy/paste to/from primary</title>
<updated>2019-08-09T19:27:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-09T19:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=15afd267168f987a4ce46c29375a3df09c4f9a1a'/>
<id>urn:sha1:15afd267168f987a4ce46c29375a3df09c4f9a1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: bug: uneven clipboard bytes where not buffered correctly</title>
<updated>2019-08-03T19:30:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-03T19:30:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e2229c7e2eeb1b0245cc2c7b9c9188f95867e344'/>
<id>urn:sha1:e2229c7e2eeb1b0245cc2c7b9c9188f95867e344</id>
<content type='text'>
When responding to a OSC 52 clipboard request, we need to base64
encode the clipboard data.

This is done in, potentially, several calls. Since we need at least 3
bytes to be able to produce any base64 output, we may have to buffer
up to 2 bytes between the callback calls with clipboard data.

This was being done incorrectly, where both bytes were written to
index 0 in the buffer.
</content>
</entry>
<entry>
<title>osc: remove TODO</title>
<updated>2019-08-03T13:53:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-08-03T13:53:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6e233f8272e466b813b36a647dd8f27287aea38a'/>
<id>urn:sha1:6e233f8272e466b813b36a647dd8f27287aea38a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc: reduce flash interval to 50ms</title>
<updated>2019-07-30T20:08:58Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-07-30T20:08:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0d1ba1ffb28f6637576f6e86d05b15bc128edf4b'/>
<id>urn:sha1:0d1ba1ffb28f6637576f6e86d05b15bc128edf4b</id>
<content type='text'>
</content>
</entry>
</feed>
