<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/foot.git/config.h, branch 1.5.2</title>
<subtitle>A fast, lightweight and minimalistic Wayland terminal emulator</subtitle>
<id>https://git.0x0f.dev/mirrors/foot.git/atom?h=1.5.2</id>
<link rel='self' href='https://git.0x0f.dev/mirrors/foot.git/atom?h=1.5.2'/>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/'/>
<updated>2020-09-15T17:12:29Z</updated>
<entry>
<title>config: add mouse.alternate-scroll-mode option</title>
<updated>2020-09-15T17:12:29Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-15T17:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f2497320c68978fb4c25226966c11f115cb88e10'/>
<id>urn:sha1:f2497320c68978fb4c25226966c11f115cb88e10</id>
<content type='text'>
This option controls the initial state of the Alternate Scroll Mode,
and defaults to ‘enabled’.
</content>
</entry>
<entry>
<title>config: add tweak.scaling-filter</title>
<updated>2020-09-13T15:59:56Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-13T15:59:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=51a7e44fa295b95404cb9b9373fb9b9a44664fda'/>
<id>urn:sha1:51a7e44fa295b95404cb9b9373fb9b9a44664fda</id>
<content type='text'>
Use the new fcft_set_scaling_filter() API to use a non-default scaling
filter.

By default, we use lanczo3, the ‘best’ filter. This overrides the
default in fcft, which is ‘cubic’ filtering.
</content>
</entry>
<entry>
<title>Add -W,--window-size-chars, and foot.ini:initial-window-size-chars</title>
<updated>2020-09-08T17:41:00Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-08T17:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=eb6737ca2593f457368ae16e920911cdd70a2e33'/>
<id>urn:sha1:eb6737ca2593f457368ae16e920911cdd70a2e33</id>
<content type='text'>
* Add -W,--window-size-chars command line option
* Add initial-window-size-chars foot.ini option
* Add -w,--window-size-pixels command line option
* Add initial-window-size-pixels foot.ini option
* Deprecate -g,--geometry command line option in favor of
  -w,--window-size-pixels
* Deprecate geometry option in foot.ini in favor of
  initial-window-size-pixels
</content>
</entry>
<entry>
<title>config: add tweak.damage-whole-window</title>
<updated>2020-09-06T15:52:07Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-06T15:52:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d040284cc78e753a0c44c35d8446622d453d4674'/>
<id>urn:sha1:d040284cc78e753a0c44c35d8446622d453d4674</id>
<content type='text'>
When enabled, foot will ‘damage’ the entire window, instead of just
the modified/updated rows.

This will force the compositor to redraw/blend the whole window.

This can be used to workaround an issue with fractional scaling in
Gnome, where random thin lines may appear.
</content>
</entry>
<entry>
<title>render: optionally enable heuristics that deal with private usage area chars</title>
<updated>2020-09-03T15:37:44Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-09-03T15:37:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b71016c25dc18a2c098a87439046873c6c9ddb30'/>
<id>urn:sha1:b71016c25dc18a2c098a87439046873c6c9ddb30</id>
<content type='text'>
Try to detect double-width *glyphs* for single-width *characters*, and
allow them to overflow into the next cell.

This is only done for single-width chars with a glyph width that is at
least 1.5 cells wide, but at most 3 cells.

The feature is gated by the new
‘tweak.allow-overflowing-double-width-glyphs’, and is disabled by
default.

Closes #116
</content>
</entry>
<entry>
<title>config: key/mouse bindings: refactor: less parsing in keyboard_enter()</title>
<updated>2020-08-13T16:47:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-10T17:00:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b97ef5819f806fe401a4b655bd06479a0394ea9d'/>
<id>urn:sha1:b97ef5819f806fe401a4b655bd06479a0394ea9d</id>
<content type='text'>
This simplifies the handling of mouse and keyboard bindings.

Before, the bindings where parsed *both* when loading the
configuration, and then on every keyboard enter event. This was done
since keys require a keymap to be decoded. Something we don't have at
configuration time. The idea was that at config time, we used a
default keymap just to verify the key combo strings were valid.

The following has changed:

* The bindings in the config struct is now *one* key combo per
  entry. Previously, it was one *action* per entry, and each entry
  had one or more key combos.

  Doing it this way makes it easier when converting the binding in the
  keyboard enter event (which previously had to expand the combos
  anyway).

* The bindings in the config struct no longer contains any unparsed
  strings.

  A key binding contains a decoded 'modifier' struct (which specifies
  whether e.g. ctrl, or shift, or ctrl+shift must be pressed for the
  binding to be used).

  It also contains a decoded XKB keysym.

* A mouse binding in the config struct is similar to a key binding,
  except it contains the button, and click count instead of the XKB
  key sym.

* The modifiers in the user-specified key combo is decoded at config
  time, by using the pre-defined XKB constants
  XKB_MOD_NAME_&lt;modifier&gt;.

  The result is stored in a 'modifiers' struct, which is just a
  collection of booleans; one for each supported modifier.

  The supported modifiers are: shift, ctrl, alt and meta/super.

* The key sym is decoded at config time using
  xkb_keysym_from_name(). This call does *not* depend on a keymap.

* The mouse button is decoded at config time using a hardcoded mapping
  table (just like before).

* The click count is currently hard-coded to 1.

* In the keyboard enter event, all we need to do is pre-compute the
  xkb_mod_mask_t variable for each key/mouse binding, and find all the
  *key codes* that map to the (already decoded) symbol.

  For mouse bindings, the modifiers are the *only* reason we convert
  the mouse bindings at all.

  In fact, on button events, we check if the seat has a keyboard. If
  not, we use the mouse bindings from the configuration directly, and
  simply filter out those with a non-empty set of modifiers.
</content>
</entry>
<entry>
<title>config: wip: add support for modifiers in mouse bindings</title>
<updated>2020-08-13T16:47:19Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-09T20:40:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=544c1b1976544085a2f27497c5c516bf1d9edfa3'/>
<id>urn:sha1:544c1b1976544085a2f27497c5c516bf1d9edfa3</id>
<content type='text'>
Mouse bindings can now include modifiers. They are specified in pretty
much the same way as in keyboard bindings:

  Control+BTN_LEFT
</content>
</entry>
<entry>
<title>config: add tweak.render-timer option</title>
<updated>2020-08-13T16:35:17Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-13T16:35:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=17070a0d54e66641839805c68cfe1670c7012525'/>
<id>urn:sha1:17070a0d54e66641839805c68cfe1670c7012525</id>
<content type='text'>
This can be set to 'none' (the default), 'osd', 'log' or 'both'.

When 'osd' is enabled, we'll render the frame rendering time to a
sub-surface after each frame.

When 'log' is enabled, the frame rendering time is logged on stderr.
</content>
</entry>
<entry>
<title>config: make selection foreground/background colors configurable</title>
<updated>2020-08-12T17:41:50Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-12T16:53:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=5e36ebdef86ad3571dee1af14f6b538c7064dd8c'/>
<id>urn:sha1:5e36ebdef86ad3571dee1af14f6b538c7064dd8c</id>
<content type='text'>
The default is still to inverse the regular foreground/background
colors.

If the user sets *both* of the new options, selection-foreground and
selection-background, those colors will *always* be used for selected
cells, instead of inverting the regular foreground/background colors.
</content>
</entry>
<entry>
<title>config: move cursor.hide-when-typing to mouse.hide-when-typing</title>
<updated>2020-08-04T05:33:15Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-04T05:33:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d929862245ba4e7887a9eef63b21b3e34e2f29ce'/>
<id>urn:sha1:d929862245ba4e7887a9eef63b21b3e34e2f29ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: add scrollback.multiplier option</title>
<updated>2020-08-03T18:08:39Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-08-03T17:43:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=36468b0406023cb8d66999eaabfdc5bbf94157d8'/>
<id>urn:sha1:36468b0406023cb8d66999eaabfdc5bbf94157d8</id>
<content type='text'>
This option is used to multiply the mouse scroll amount for mouse and
trackpad based scrollback scrolling.

Closes #54.
</content>
</entry>
<entry>
<title>config: add 'hide-when-typing'</title>
<updated>2020-07-31T15:09:06Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-31T15:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=d4ee9be4d767ff4927c9e322bdbf958841dc091d'/>
<id>urn:sha1:d4ee9be4d767ff4927c9e322bdbf958841dc091d</id>
<content type='text'>
When enabled, the mouse cursor is hidden when the user types in the
terminal. It is un-hidden when the user moves the mouse, or when the
window loses keyboard focus.
</content>
</entry>
<entry>
<title>config: configuration errors are no longer fatal</title>
<updated>2020-07-31T15:07:14Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-31T15:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b00dfcf7b6d89f33e2ddad9ebcf96350b5a10c99'/>
<id>urn:sha1:b00dfcf7b6d89f33e2ddad9ebcf96350b5a10c99</id>
<content type='text'>
Instead of refusing to start foot on configuration errors, we start
and print a user-notification.
</content>
</entry>
<entry>
<title>user-notification: 'productify' the user-warning system</title>
<updated>2020-07-30T16:58:54Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-30T16:57:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=f6533a71e4996f2f4cd45336966cebf6c3f34b1e'/>
<id>urn:sha1:f6533a71e4996f2f4cd45336966cebf6c3f34b1e</id>
<content type='text'>
* Rename user_warning to user_notification
* Add warning and error types (in addition to the existing deprecated)
* Simplify logic when emitting a user notification after forking; we
  don't need to copy the notification data since we're in a new
  process and have total control over that memory.
</content>
</entry>
<entry>
<title>config: tokenize key bindings' pipe command when loading the configuration</title>
<updated>2020-07-30T16:53:51Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-30T16:53:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=7767041c2cb4f7739881cb8433a8ce7f9ef6d08c'/>
<id>urn:sha1:7767041c2cb4f7739881cb8433a8ce7f9ef6d08c</id>
<content type='text'>
This allows us to detect syntax errors early on, and is also more
efficient since we don't have to re-tokenize the command line every
time the binding is executed.
</content>
</entry>
<entry>
<title>term: add capability to print warnings *inside* the terminal</title>
<updated>2020-07-29T17:42:12Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-29T17:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=b3d0215c388c51a7e9838d16fe06023844af5c8b'/>
<id>urn:sha1:b3d0215c388c51a7e9838d16fe06023844af5c8b</id>
<content type='text'>
This is intended to be used to print e.g. deprecation warnings inside
the terminal, *before* the shell is started.
</content>
</entry>
<entry>
<title>config: add free-form text variant to 'scrollback-indicator-format'</title>
<updated>2020-07-28T17:56:53Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-28T17:56:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=2882fbb537f53feb33d407c3aac103d0189af725'/>
<id>urn:sha1:2882fbb537f53feb33d407c3aac103d0189af725</id>
<content type='text'>
And make the empty string the new default.
</content>
</entry>
<entry>
<title>config: rename scrollback-indicator-style to scrollback-indicator-position</title>
<updated>2020-07-27T18:09:36Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-27T18:02:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=718e5b4a7787cc9d68b9c422b8b6703f3b7c5c26'/>
<id>urn:sha1:718e5b4a7787cc9d68b9c422b8b6703f3b7c5c26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: scrollback-indicator-format: percent -&gt; percentage</title>
<updated>2020-07-26T09:39:02Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-26T09:39:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=50d116dcb9183047899d93095117632c669d5f03'/>
<id>urn:sha1:50d116dcb9183047899d93095117632c669d5f03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: rename scrollback-indicator-style value 'static' to 'fixed'</title>
<updated>2020-07-25T12:40:46Z</updated>
<author>
<name>Daniel Eklöf</name>
<email>daniel@ekloef.se</email>
</author>
<published>2020-07-25T12:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0x0f.dev/mirrors/foot.git/commit/?id=9edd71a741a3aeff89fe04f51582214d69bbde5d'/>
<id>urn:sha1:9edd71a741a3aeff89fe04f51582214d69bbde5d</id>
<content type='text'>
</content>
</entry>
</feed>
