<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/terminal.c, branch 1.10.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.10.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2021-11-30T21:25:32Z</updated>
<entry>
<title>term: xcursor_update_for_seat(): BUG on xcursor == NULL</title>
<updated>2021-11-30T21:25:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T21:25:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b3029234af2a0f4ff92947ec6d83581c26e6d3e9'/>
<id>urn:sha1:b3029234af2a0f4ff92947ec6d83581c26e6d3e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: xcursor_update_for_seat(): remove duplicate check for term-&gt;is_searching</title>
<updated>2021-11-30T21:14:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T21:14:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=59e6285037cba04d0ffdcd77cd27bf8aaa59fe8c'/>
<id>urn:sha1:59e6285037cba04d0ffdcd77cd27bf8aaa59fe8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: xcursor_update_for_seat(): remove switch default case</title>
<updated>2021-11-30T21:12:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T21:12:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=bfbb4b08308f6deb872a19c19e8481a907347be4'/>
<id>urn:sha1:bfbb4b08308f6deb872a19c19e8481a907347be4</id>
<content type='text'>
Let the compiler catch missing enum values
</content>
</entry>
<entry>
<title>Merge branch 'window-menu'</title>
<updated>2021-11-30T21:10:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-30T21:10:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=90cfdcf1a5ddbaad44a46fb88b8dbafd319ee0ad'/>
<id>urn:sha1:90cfdcf1a5ddbaad44a46fb88b8dbafd319ee0ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>terminal: Make seat xcursor update focus aware</title>
<updated>2021-11-29T15:26:40Z</updated>
<author>
<name>Jonas Ådahl</name>
<email>jadahl@gmail.com</email>
</author>
<published>2021-11-19T14:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5c2557b42116dd6d0f86c90b2cf04cd43f80a36e'/>
<id>urn:sha1:5c2557b42116dd6d0f86c90b2cf04cd43f80a36e</id>
<content type='text'>
When term_xcursor_update_for_seat() was called on e.g. keyboard focus
loss, it'd update the curret xcursor to 'text' even if it was e.g. on
top of the window title, or resize areas. This makes the function a bit
more focus aware, and will not be so eager to set the text xcursor.
</content>
</entry>
<entry>
<title>input: rename ‘meta’ to ‘super’</title>
<updated>2021-11-28T14:14:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T11:01:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=66171f104588a280e598ceb38dc90d9acdce060f'/>
<id>urn:sha1:66171f104588a280e598ceb38dc90d9acdce060f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kitty kbd: add flag state, implement push/pop/update/query</title>
<updated>2021-11-28T14:14:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-16T15:32:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fec42e5941c20f4b69164dd0d78ea7e7e0f17de5'/>
<id>urn:sha1:fec42e5941c20f4b69164dd0d78ea7e7e0f17de5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>osc8: update URI ranges as we print data, *not* when the URI is closed</title>
<updated>2021-11-25T18:31:03Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-25T18:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8c50a7afd401686f645fb26676fbcaedb8d4ab62'/>
<id>urn:sha1:8c50a7afd401686f645fb26676fbcaedb8d4ab62</id>
<content type='text'>
At first, an OSC-8 URI range was added when we received the closing
OSC-8 escape (i.e. with an empty URI).

But, this meant that cursor movements while the OSC-8 escape was in
effect wasn’t handled correctly, since we’d add a range that spanned
the cursor movements.

Attempts were made to handle this in the cursor movement functions, by
closing and re-opening the URI.

However, there are too many corner cases to make this a viable
approach. Scrolling is one such example, line-wrapping another.

This patch takes a different approach; emit, or update the URI range
when we print to the grid. This models the intended behavior much more
closely, where an active OSC-8 URI act like any other SGR attribute -
it is applied to all cells printed to, but otherwise have no effect.

To avoid killing performance, this is only done in the “generic”
printer. This means OSC-8 open/close calls must now “switch” the ASCII
printer.

Note that the “fast” printer still needs to *erase* pre-existing OSC-8
URIs.

Closes #816
</content>
</entry>
<entry>
<title>term: print: reset ‘col’ after padding the right margin</title>
<updated>2021-11-21T17:09:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T13:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5b176dd5d6e55dd666b0e424cae20e7a97e3bede'/>
<id>urn:sha1:5b176dd5d6e55dd666b0e424cae20e7a97e3bede</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "term: print: erase URI range when printing right-margin padding"</title>
<updated>2021-11-21T17:09:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T13:46:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=315769b50bd3df2d41cb130200bc03eb64be4078'/>
<id>urn:sha1:315769b50bd3df2d41cb130200bc03eb64be4078</id>
<content type='text'>
This reverts commit bb967fd2f927d90e881ed2b05db1fa6946033580.
</content>
</entry>
<entry>
<title>term: print: erase URI range when printing right-margin padding</title>
<updated>2021-11-21T17:09:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T13:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=65944906bf87bf7ea6c404526fa3f3f88f96194a'/>
<id>urn:sha1:65944906bf87bf7ea6c404526fa3f3f88f96194a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: print: re-order col/row/cell assigments</title>
<updated>2021-11-21T17:09:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-21T13:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=3c6239c66f0ea758655a891492073fd3549cd877'/>
<id>urn:sha1:3c6239c66f0ea758655a891492073fd3549cd877</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: erase_cell_range(): check if row-&gt;extra != NULL</title>
<updated>2021-11-21T17:09:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-20T13:40:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0be55ef74c38140877d82c66159f112517b3825c'/>
<id>urn:sha1:0be55ef74c38140877d82c66159f112517b3825c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: tail-call optimize calls to grid_row_uri_range_erase()</title>
<updated>2021-11-21T17:09:27Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-20T13:39:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=53fc1a1cb12fc2367a1ff76e723be52603c39cdc'/>
<id>urn:sha1:53fc1a1cb12fc2367a1ff76e723be52603c39cdc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: call grid_row_uri_range_erase() when printing cells</title>
<updated>2021-11-21T17:09:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-20T12:54:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=09a331857a8480ebce4aec83e665a0c68e6a03c4'/>
<id>urn:sha1:09a331857a8480ebce4aec83e665a0c68e6a03c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>grid: add grid_row_uri_range_erase()</title>
<updated>2021-11-21T17:09:26Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-20T12:42:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1a0de0017f7b2061bad0b695a98963ca0f274e21'/>
<id>urn:sha1:1a0de0017f7b2061bad0b695a98963ca0f274e21</id>
<content type='text'>
This function handles erasing of an URI range. That is, a range of the
row is being either erased, or overwritten (from the URI perspective,
these two are the same thing).

We handle both partial overwrites (split up, or truncate URI), as well
as complete overwrites (remove URI).
</content>
</entry>
<entry>
<title>term: track cell color source</title>
<updated>2021-11-20T15:46:38Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-20T15:29:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d46af6bd7ac7606bf99d63b2453b656a5defb892'/>
<id>urn:sha1:d46af6bd7ac7606bf99d63b2453b656a5defb892</id>
<content type='text'>
Each cell now tracks it’s current color source:

* default fg/bg
* base16 fg/bg (maps to *both* the regular and bright colors)
* base256 fg/bg
* RGB

Note that we don’t have enough bits to separate the regular from the
bright colors. These _shouldn’t_ be the same, so we ought to be
fine...
</content>
</entry>
<entry>
<title>config: add [colors].dim0-7</title>
<updated>2021-11-13T16:39:08Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-03T13:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c01904a2c75e962e5159dd42a640cce3d7370b13'/>
<id>urn:sha1:c01904a2c75e962e5159dd42a640cce3d7370b13</id>
<content type='text'>
This allows you to configure custom colors to be used when colors are
being dimmed (`\E[2m`).

It is implemented by color matching (just like
bold-text-in-bright=palette-based); the color-to-be-dimmed is matched
against the current color palette.

If it matches one of the regular colors (colors 0-7), the
corresponding “dim” color will be used.

If it matches one of the bright colors (colors 8-15), the
corresponding “regular” color will be used (but *only* if the “dim”
color has been set).

Otherwise, the color is dimmed by reducing its luminance.

The default behavior, i.e. when dim0-7 hasn’t been configured, is to
dim by reducing luminance for *all* colors. I.e. we don’t do any color
matching at all. In particular, this means that dimming a bright color
will *not* result in the corresponding “regular” color.

Closes #776
</content>
</entry>
<entry>
<title>config: add {str,value}_to_uint{16,32}()</title>
<updated>2021-11-13T10:04:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-11-06T11:01:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d29c3cf7b76c6a1935684124b4d7cad69de94c78'/>
<id>urn:sha1:d29c3cf7b76c6a1935684124b4d7cad69de94c78</id>
<content type='text'>
This allows us to pass the final pointer directly to the conversion
functions, as well as allowing us to print outside-range errors.
</content>
</entry>
<entry>
<title>foot/client: implement xdga client activation</title>
<updated>2021-11-01T01:52:29Z</updated>
<author>
<name>Ronan Pigott</name>
<email>rpigott@berkeley.edu</email>
</author>
<published>2021-10-29T00:51:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=99d5bf64bca5daa70e3e8c5a4d63a257ba7e6fb8'/>
<id>urn:sha1:99d5bf64bca5daa70e3e8c5a4d63a257ba7e6fb8</id>
<content type='text'>
This is an application of the xdg activation protocol that will allow
compositors to associate new foot toplevels with the command that
launched them.

footclient receives an activation token from the launcher which the
compositor can use to track application startup. It passes the token
to the foot server, which then activates the new window with the token
to complete the startup sequence.
</content>
</entry>
</feed>
