<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/csi.c, branch 1.17.1</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.17.1</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.17.1'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2024-03-16T14:36:00Z</updated>
<entry>
<title>csi: indicate "permanently reset" for DECRQM queries of mode 67 (DECBKM)</title>
<updated>2024-03-16T14:36:00Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2024-03-15T17:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=27330a5dd6d544acf80272e6173418d5e47d259b'/>
<id>urn:sha1:27330a5dd6d544acf80272e6173418d5e47d259b</id>
<content type='text'>
This allows dynamic querying for the equivalent of terminfo's "kbs"
capability.
</content>
</entry>
<entry>
<title>csi: the CSI-t family of queries now report unscaled pixel values</title>
<updated>2024-03-14T06:26:37Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-03-14T06:03:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=712bc95db3bfce96118a3a95dcdaa9779cbeb136'/>
<id>urn:sha1:712bc95db3bfce96118a3a95dcdaa9779cbeb136</id>
<content type='text'>
Before this patch, we reported scaled pixel values. This was rather
useless, since applications have no way of getting the scaling factor,
to "scale up" e.g. images.

Furthermore, the most common use of these queries are probably to
calculate the dimensions to use when emitting sixels.

Closes #1643
</content>
</entry>
<entry>
<title>csi: params_to_rectangular_area(): ensure left/right is within bounds</title>
<updated>2024-03-10T16:37:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-03-10T16:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e2b3eb91ddfb8690d45d4300f0f41cbb1137f22e'/>
<id>urn:sha1:e2b3eb91ddfb8690d45d4300f0f41cbb1137f22e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: DECCARA+DECRARA: dirty cells</title>
<updated>2024-03-07T15:25:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-28T16:14:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6a01642a6fef11d5663c9dfcdf212826f7224f64'/>
<id>urn:sha1:6a01642a6fef11d5663c9dfcdf212826f7224f64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: DECRARA: fix comment: DECCARA -&gt; DECRARA</title>
<updated>2024-03-07T15:24:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T15:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d6c5bc3262594d265cf9a506e9cd4afb033e4f68'/>
<id>urn:sha1:d6c5bc3262594d265cf9a506e9cd4afb033e4f68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: DECCRA: no need for a counter here</title>
<updated>2024-03-07T15:24:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T15:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f5c574cd94796561a9138a30eae0cbe724033644'/>
<id>urn:sha1:f5c574cd94796561a9138a30eae0cbe724033644</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term_fill(): change ‘character’ parameter from char -&gt; uint8_t</title>
<updated>2024-03-07T15:24:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T15:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=23908d9277b3c41c294102993875cf485db689cb'/>
<id>urn:sha1:23908d9277b3c41c294102993875cf485db689cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: modify term_fill() to optionally reset the SGR attributes</title>
<updated>2024-03-07T15:24:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T15:05:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b3a84ba71b021b484e0ddc023480eb6d9f885991'/>
<id>urn:sha1:b3a84ba71b021b484e0ddc023480eb6d9f885991</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: replace term_put_char() with term_fill()</title>
<updated>2024-03-07T15:24:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T14:59:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=189cfd717fd4670a97995ad9b8e08a2352c09099'/>
<id>urn:sha1:189cfd717fd4670a97995ad9b8e08a2352c09099</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: rectangular: add helper function params_to_rectangular_area()</title>
<updated>2024-03-07T15:24:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T14:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1b66c6a3acd9ea80be0903d4860d3b06f6f108d0'/>
<id>urn:sha1:1b66c6a3acd9ea80be0903d4860d3b06f6f108d0</id>
<content type='text'>
This functions reads the four top/left/bottom/right parameters,
validates them, and converts relative row numbers to absolute.

Returns true if the params are valid, otherwise false.
</content>
</entry>
<entry>
<title>csi: add ‘28’ (rectangular edit) to primary DA response</title>
<updated>2024-03-07T15:24:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T14:03:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=95293f142a1288eedf4d07b09ecb4036ff1db295'/>
<id>urn:sha1:95293f142a1288eedf4d07b09ecb4036ff1db295</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: implement rectangular edit escapes</title>
<updated>2024-03-07T15:24:33Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2021-12-26T14:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=926d88fd3035407057c70a9995bf61e0c47fbe40'/>
<id>urn:sha1:926d88fd3035407057c70a9995bf61e0c47fbe40</id>
<content type='text'>
* DECCARA - change attributes in rectangular area
* DECRARA - reverse attributes in rectangular area
* DECCRA - copy rectangular area
* DECFRA - fill rectangular area
* DECERA - erase rectangular area

Not implemented:

* DECSERA - selective erase rectangular area
</content>
</entry>
<entry>
<title>csi: support DECRQM queries for ECMA-48 (SM/RM) modes</title>
<updated>2024-02-11T15:09:28Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2024-02-11T15:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=fa01bf2b75fd5c74c57552cb351cb291002fc3bb'/>
<id>urn:sha1:fa01bf2b75fd5c74c57552cb351cb291002fc3bb</id>
<content type='text'>
This is in addition to the existing support for DECRQM queries
of DEC private modes.
</content>
</entry>
<entry>
<title>Don't use fancy Unicode quotes, stick to ASCII</title>
<updated>2024-02-06T11:36:45Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2024-02-06T11:36:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7999975016a57cc0a2c2e20bc55f29de32df7044'/>
<id>urn:sha1:7999975016a57cc0a2c2e20bc55f29de32df7044</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: simplify handling of Set/Reset Mode (SM/RM) sequences</title>
<updated>2024-01-27T07:43:32Z</updated>
<author>
<name>Craig Barnes</name>
<email>craigbarnes@protonmail.com</email>
</author>
<published>2024-01-25T01:07:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=44c0cf594b4674e92b9dd1646d7a2d43c401e5d8'/>
<id>urn:sha1:44c0cf594b4674e92b9dd1646d7a2d43c401e5d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: decrqm: 2027: permanently disabled when grapheme-width-method != double-width</title>
<updated>2023-09-25T14:50:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-09-21T16:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7fcbca808b57bd29afbe82dcdacfac6da8ed16da'/>
<id>urn:sha1:7fcbca808b57bd29afbe82dcdacfac6da8ed16da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: implement DECSET/DECRST/DECRQM 2027 - grapheme cluster processing</title>
<updated>2023-09-25T14:50:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-09-20T11:45:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4eef001d5855b9b5afb59bbd3b92b3a2828fcca0'/>
<id>urn:sha1:4eef001d5855b9b5afb59bbd3b92b3a2828fcca0</id>
<content type='text'>
This implements private mode 2027 - grapheme cluster processing, as
defined in the "Terminal Unicode Core"[1] specification.

Internally, we just flip the already existing option "grapheme
shaping". Since it's now runtime changeable, we need a copy of it in
the terminal struct, rather than referencing the conf object.

[1]: https://github.com/contour-terminal/terminal-unicode-core/blob/13fc5a8993a033ff10c1f3433d08cb618cde4ac2/spec/terminal-unicode-core.tex#L50-L53
</content>
</entry>
<entry>
<title>scaling: always round the scaling factor when converting to int</title>
<updated>2023-07-25T14:48:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-07-25T13:56:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=613c61abb44e49236a893376764eb21702c0ef32'/>
<id>urn:sha1:613c61abb44e49236a893376764eb21702c0ef32</id>
<content type='text'>
* In all calls to wl_subsurface_set_position()
* (wp_viewport_set_destination() already does this)
* Whenever we use the scale to calculate margins (search box,
  scrollback indicator etc)
* Since the scaling factor is stored as a float (and not a double),
  use roundf() instead of round()
</content>
</entry>
<entry>
<title>term: convert ‘scale’ to a float</title>
<updated>2023-06-29T13:38:22Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-06-22T12:21:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c1f374cc8dab121388669cee6df3e2d1c483d77f'/>
<id>urn:sha1:c1f374cc8dab121388669cee6df3e2d1c483d77f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>csi: CHA+HPA (cursor horizontal absolute): use term_cursor_col()</title>
<updated>2023-06-20T12:55:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2023-06-16T14:34:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2c0c4ce821b90dea9ebbcdab98c10865de1872fe'/>
<id>urn:sha1:2c0c4ce821b90dea9ebbcdab98c10865de1872fe</id>
<content type='text'>
</content>
</entry>
</feed>
