<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/config.c, branch 1.4.0</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.0</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.0'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-07-15T15:48:02Z</updated>
<entry>
<title>config: oopsie, need to use strndup() on the pipe command</title>
<updated>2020-07-15T15:48:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T15:48:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=94bb31328279a8ca0c598d08bb62e5831e601264'/>
<id>urn:sha1:94bb31328279a8ca0c598d08bb62e5831e601264</id>
<content type='text'>
Since it isn't NULL-terminated.
</content>
</entry>
<entry>
<title>config: change syntax for pipe-command in key binding</title>
<updated>2020-07-15T15:28:09Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T15:28:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=65a46be822fe290ae721d1dd668f54dcc7a7ec49'/>
<id>urn:sha1:65a46be822fe290ae721d1dd668f54dcc7a7ec49</id>
<content type='text'>
The pipe command can contain almost all printable characters. In
particular, we can expect it to contain '='.

Having the pipe command as part of the key breaks the key/value
splitting.

Change it so that it is instead an optional initial part of the value,
enclosed in '[]'.

I.e. instead of

    pipe-visible:cmd=binding

we now need to write

    pipe-visible=[cmd] binding
</content>
</entry>
<entry>
<title>conf: bindings: allow several mappings for the same action</title>
<updated>2020-07-15T14:43:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T14:39:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1541531765f517067dcb92b4870d64e1be9bd230'/>
<id>urn:sha1:1541531765f517067dcb92b4870d64e1be9bd230</id>
<content type='text'>
If the bindings has different pipe command associated with them, treat
them as different actions.
</content>
</entry>
<entry>
<title>config: add support for appending a 'spawn' argument to key bindings</title>
<updated>2020-07-15T11:32:31Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T11:32:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=57f5cc1bf2d98e6a49f74b39a1b0491b8bb65e51'/>
<id>urn:sha1:57f5cc1bf2d98e6a49f74b39a1b0491b8bb65e51</id>
<content type='text'>
A key binding may now have an optional ':&lt;cmd&gt;' string appended to the
key.

This is intended to be used like so:

  pipe-scrollback:sh -c "cat &gt; file"=Print

TODO: we still only allow one *action*. Meaning you still cannot
specify multiple pipe-scrollback bindings, for example.
</content>
</entry>
<entry>
<title>conf: add definitions for pipe-{scrollback,view} bindings</title>
<updated>2020-07-15T07:46:13Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-15T07:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=85c50099afa792a45671664275d3cd33bb8606e6'/>
<id>urn:sha1:85c50099afa792a45671664275d3cd33bb8606e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>term: don't use deprecated fcft_size_adjust()</title>
<updated>2020-07-07T08:44:55Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-07T08:44:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=69e4213e4a68a969e34dfad1807b49430c8606fb'/>
<id>urn:sha1:69e4213e4a68a969e34dfad1807b49430c8606fb</id>
<content type='text'>
When resizing the font on-the-fly, we now do a complete
font-reload (this is basically what fcft_size_adjust() did anyway).

To get the correct size, we maintain the current size ourselves.

We get the initial size from the user-provided font pattern, by
converting the string to an FcPattern, and using FcPatternGet() to
retrieve both the FC_SIZE and FC_PIXEL_SIZE attributes. These
attributes are then removed from the pattern, and the pattern is
converted back to a string.

The terminal struct maintains a copy of the font sizes. These are
initially set to the sizes from the config.

When the user resizes the font, the terminal-local sizes are
adjusted. To ensure the primary and user-configured fallback fonts are
resizes equally much, convert any pixel sizes to point sizes at this
point.

When the font size is reset, we reload the font sizes from the
config (thus once again returning actual pixel-sizes, if that's what
the user has configured).
</content>
</entry>
<entry>
<title>config: add 'blink' option to cursor section in footrc</title>
<updated>2020-06-30T15:45:34Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-06-30T15:45:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a259eda5358b4fdb788b6fcf0f8e1482a5387d77'/>
<id>urn:sha1:a259eda5358b4fdb788b6fcf0f8e1482a5387d77</id>
<content type='text'>
This option controls whether the default cursor should blink or
not. The default is to *not* blink.
</content>
</entry>
<entry>
<title>util.h: new header file defining commonly used macros</title>
<updated>2020-05-01T09:46:24Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-05-01T09:46:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=69c3e744983e37662fa7b4f61482fb1d142e257c'/>
<id>urn:sha1:69c3e744983e37662fa7b4f61482fb1d142e257c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>misc: replace all explicit zero-initializers with empty initializers</title>
<updated>2020-04-13T10:03:11Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-13T10:03:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c96a0b3b3ce22f0db45e61160d414258917e4bcd'/>
<id>urn:sha1:c96a0b3b3ce22f0db45e61160d414258917e4bcd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: use an unsigned constant, since we're shifting 31 bits</title>
<updated>2020-04-09T11:35:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-09T11:35:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=1f264b165da86ca8206cd40a7eb569b9283996db'/>
<id>urn:sha1:1f264b165da86ca8206cd40a7eb569b9283996db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>conf: add 'title' conf option and --title command line option</title>
<updated>2020-04-01T17:59:47Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-01T17:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=ec7a7684876c06764a583a1cefe2a93f6706e3ca'/>
<id>urn:sha1:ec7a7684876c06764a583a1cefe2a93f6706e3ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>conf: add app-id config option and --app-id command line option</title>
<updated>2020-04-01T16:40:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-04-01T16:40:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=4d52a870b493c17172766db3d0a76cd8f0c3204c'/>
<id>urn:sha1:4d52a870b493c17172766db3d0a76cd8f0c3204c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'scroll-damage-performance'</title>
<updated>2020-03-29T10:07:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-29T10:07:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2c7ee09dad6de4fe8a226eb4ec8fda26f783c240'/>
<id>urn:sha1:2c7ee09dad6de4fe8a226eb4ec8fda26f783c240</id>
<content type='text'>
</content>
</entry>
<entry>
<title>conf: rename 'startup-mode' to 'initial-window-mode'</title>
<updated>2020-03-28T11:04:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-28T11:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=a2a370acba7282c11a21039eaa6897a1f1e05498'/>
<id>urn:sha1:a2a370acba7282c11a21039eaa6897a1f1e05498</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into scroll-damage-performance</title>
<updated>2020-03-27T20:16:42Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-27T20:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=598ac4bcd0690995fbf94c7a2b17564dbf69a5f1'/>
<id>urn:sha1:598ac4bcd0690995fbf94c7a2b17564dbf69a5f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add 'startup-mode' option</title>
<updated>2020-03-26T18:39:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-26T18:39:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=e197368c0ffc2235da9b6b41a0d16cdb5b0b61bb'/>
<id>urn:sha1:e197368c0ffc2235da9b6b41a0d16cdb5b0b61bb</id>
<content type='text'>
This option controls the initial window mode: windowed, maximized or
fullscreen. The default is windowed.
</content>
</entry>
<entry>
<title>shm: make max pool size user configurable (via a 'tweak' setting)</title>
<updated>2020-03-25T19:48:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-25T19:48:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=0baa249d8b59007913dbf7db8aa8d94e6c2b9d44'/>
<id>urn:sha1:0baa249d8b59007913dbf7db8aa8d94e6c2b9d44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>search: replace hard-coded key bindings with "user configurable" ones</title>
<updated>2020-03-18T14:30:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-18T14:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=04191564946d3ba6c1c49e5041e4bd0cda819043'/>
<id>urn:sha1:04191564946d3ba6c1c49e5041e4bd0cda819043</id>
<content type='text'>
They aren't really user configurable. At least not yet.

However, with this, we now handle raw key codes just like the normal
key bindings. Meaning, e.g. ctrl+g, ctrl+a, ctrl+e etc now works while
searching with e.g. a russian layout.
</content>
</entry>
<entry>
<title>conf: bindings: case insensitive matching against 'none'</title>
<updated>2020-03-18T13:52:04Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-18T13:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c87cec8c1ec338f4c28c3e76ed7576f237e65214'/>
<id>urn:sha1:c87cec8c1ec338f4c28c3e76ed7576f237e65214</id>
<content type='text'>
</content>
</entry>
<entry>
<title>conf: change default key binding for spawn-terminal to ctrl+shift+n</title>
<updated>2020-03-17T18:51:25Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-17T18:50:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=87d641695a1084d91f68bf80fed2235ed95a7918'/>
<id>urn:sha1:87d641695a1084d91f68bf80fed2235ed95a7918</id>
<content type='text'>
</content>
</entry>
</feed>
