<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/config.h, branch 1.4.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.4.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-07-15T14:43:11Z</updated>
<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>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>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 '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: make delayed rendering timeouts configurable</title>
<updated>2020-03-17T15:46:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-17T15:46:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6e63fdb0535b3357835264c8d8727112b4d3e06a'/>
<id>urn:sha1:6e63fdb0535b3357835264c8d8727112b4d3e06a</id>
<content type='text'>
This adds an undocumented 'tweak' section to footrc, with two new
options:

* delayed-render-lower
* delayed-render-upper

Both takes an integer value, representing the lower/upper timeout
values (in nano seconds) for delayed rendering.
</content>
</entry>
<entry>
<title>config/input: implement mouse bindings</title>
<updated>2020-03-12T09:20:05Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-12T09:20:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=45384839f0e9627cd5b376b045e11c14277d40d0'/>
<id>urn:sha1:45384839f0e9627cd5b376b045e11c14277d40d0</id>
<content type='text'>
* New config section, "mouse-bindings", where bindings are defined on
  the form "action=BTN_&lt;name&gt;
* pointer_button() handler now scans the bindings list instead of
  hardcoding primary-paste to BTN_MIDDLE.
* The implementation handles single- double- and triple clicks in the
  bindings, but there is currently no way to define anything but a
  single-click binding in the configuration.
</content>
</entry>
<entry>
<title>wip: initial framework for dealing with key/mouse bindings in different modes</title>
<updated>2020-03-08T11:08:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-08T11:08:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b22bb3097634206956392929795fd2902f08faa7'/>
<id>urn:sha1:b22bb3097634206956392929795fd2902f08faa7</id>
<content type='text'>
This adds initial support for defining key and mouse bindings that are
applied in different terminal modes/states.

For example, there are two arrays dealing with key and mouse bindings
in the "normal" mode. Most bindings will go here.

There's also an array for "search" mode. These bindings will be used
when the user has started a scrollback search.

In the future, there may be a model selection mode as well. Or maybe
"search" and "modal selection" will be combined into a single
"keyboard" mode. We'll see.

Since the keyboard bindings depend on the current XKB keymap,
translation from the user specified key combination string cannot be
done when loading the configuration, but must be done when we've
received a keymap from the wayland server.

We should explore if it's possible to load some kind of default keymap
just to be able to verify the validity of the key combination strings
at configuration load time, to be able to reject the configuration at
startup.

A couple of key bindings have been added as proof of concept.

Mouse bindings aren't handled at all yet, and is likely to be
re-written. For example, we can probably translate the configuration
strings at configuration load time.
</content>
</entry>
<entry>
<title>config: CSD borders are always invisible</title>
<updated>2020-03-03T17:18:59Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-03T17:18:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=c90d70b2bfc93fa7bf58f9e8805a55b191828886'/>
<id>urn:sha1:c90d70b2bfc93fa7bf58f9e8805a55b191828886</id>
<content type='text'>
That is, remove all configuration options and always draw them fully
transparent.
</content>
</entry>
<entry>
<title>csd: initial implementation of minimize/maximize/close buttons</title>
<updated>2020-03-02T19:29:28Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T19:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9699c9b8bfcbd7f9ebef5ee4ffe370cb03b1c8a2'/>
<id>urn:sha1:9699c9b8bfcbd7f9ebef5ee4ffe370cb03b1c8a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: make CSD user configurable</title>
<updated>2020-03-02T17:42:49Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-03-02T17:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=22ce09eb44db887d32a5b3a88740939b7285c763'/>
<id>urn:sha1:22ce09eb44db887d32a5b3a88740939b7285c763</id>
<content type='text'>
The user can now configure the following:

* Whether to prefer CSDs or SSDs. But note that this is only a hint to
  the compositor - it may deny our request. Furthermore, not all
  compositors implement the decoration manager protocol, meaning CSDs
  will be used regardless of the user configuration (GNOME/mutter
  being the most prominent one).
* Title bar size and color, including transparency
* Border size and color, including transparency

Also drop support for rendering the CSDs inside the main surface.
</content>
</entry>
<entry>
<title>config: add 'login-shell' option</title>
<updated>2020-02-20T17:35:10Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-20T17:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=6af4b87ec5067380a46adad4ce3c862db155c619'/>
<id>urn:sha1:6af4b87ec5067380a46adad4ce3c862db155c619</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add 'pad' option, default to 2</title>
<updated>2020-02-15T18:00:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-15T18:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9ab9247b88be94e222add13d5bb93d34f02281d1'/>
<id>urn:sha1:9ab9247b88be94e222add13d5bb93d34f02281d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement --hold</title>
<updated>2020-02-03T18:58:32Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-02-03T18:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=8f4ec9aa479c5414661a7507543e6a59e4e1f6da'/>
<id>urn:sha1:8f4ec9aa479c5414661a7507543e6a59e4e1f6da</id>
<content type='text'>
When specified, we don't exit when the slave/client process exits.
</content>
</entry>
<entry>
<title>wayland: optionally use the presentation time protocol to measure input lag</title>
<updated>2019-12-31T14:39:40Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2019-12-31T14:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5a074190960130b6136a398d83da43fd1e8ec7e2'/>
<id>urn:sha1:5a074190960130b6136a398d83da43fd1e8ec7e2</id>
<content type='text'>
This adds a flag, -p,--presentation-timings, that enables input lag
measuring using the presentation time Wayland protocol.

When enabled, we store a timestamp when we *send* a key to the
slave. Then, when we commit a frame for rendering to the compositor,
we request presentation feedback. We also store a timestamp for when
the frame was committed.

The 'presented' callback then looks at the input and commit
timestamps, and compares it with the presented timestamp.

The delay is logged at INFO when the delay was less than one frame
interval, at WARN when it was one frame interval, and at ERR when it
was two or more frame intervals.

We also update statistic counters that we log when foot is shut down.
</content>
</entry>
</feed>
