codeberg dnkl/foot 1.23.0

latest release: 1.23.1
one month ago

Added

  • colors2 config section. This section duplicates the colors section, and lets you define an alternative color theme.
  • key-bindings.color-theme-switch-1, key-bindings.color-theme-switch-2 and key-bindings.color-theme-toggle key bindings. These can be used to switch between the primary and alternative color themes. They are not bound by default.
  • Sending SIGUSR1 to the foot process now triggers a theme switch (in server mode, all instances toggles their themes).
  • Support for private mode 2031 - Dark and Light Mode Detection (#2025)
  • Added initial-color-theme=1|2 config option. 1 uses colors from the [colors] section, 2 uses [colors2].
  • Combined dark/light theme files for (dark variant is the default, set initial-color-theme=2 to use the light variant by default):
    • gruvbox
    • nvim
    • paper-color
    • selenized
    • solarized
  • regex-copy/show-urls-copy will copy and paste the selected text if the hint is completed with an uppercase character (#1975).
  • 16-bit to tweak.surface-bit-depth. Makes foot use 16-bit image buffers. They provide the necessary color precision required by gamma-correct-blending=yes.
  • New cursor shapes, from cursor-shape-v1 version 2.
  • center-when-fullscreen and center-when-maximized-and-fullscreen to the pad option. This allows you to configure when the grid is centered in more detail (#2111).

Changed

  • cursor.color moved to colors.cursor.
  • OSC-11 without an alpha value will now restore the configured (i.e. from foot.ini) alpha, rather than keeping whatever the current alpha value is, unchanged.
  • gamma-correct-blending=yes now defaults to 16-bit image buffers, instead of 10-bit.
  • Allow setting either selection background, or selection foreground, only (#1846).
  • Drop required version of libxkbcommon from 1.8.0 back to 1.0.0 (#2103).
  • OSC-52: an empty payload now clears the clipboard.
  • DA (Device Attributes): include 52 in the reply, to indicate OSC-52 support (when at least copy has been enabled in security.osc52).

Deprecated

  • cursor.color config option; use colors.cursor instead.

Removed

  • Subsurface unmap quirk for Sway. This was a workaround added in 1.12.1, for Sway issue #6960.

Fixed

  • REP: wrong width of repeated multi-codepoint graphemes.
  • Incorrect surface commit after a configure event, under certain conditions (#2105).

Contributors

  • Chen Mulong
  • Kirill Primak
  • Ryan Roden-Corrent
  • tokyo4j

Don't miss a new foot release

NewReleases is sending notifications on new releases.