mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
This feature lets foot combine e.g. "a\u0301" to "á". We first check if the current character (that we're about to print) is a combining character, by checking if it's in one of the following ranges: * Combining Diacritical Marks (0300–036F), since version 1.0, with modifications in subsequent versions down to 4.1 * Combining Diacritical Marks Extended (1AB0–1AFF), version 7.0 * Combining Diacritical Marks Supplement (1DC0–1DFF), versions 4.1 to 5.2 * Combining Diacritical Marks for Symbols (20D0–20FF), since version 1.0, with modifications in subsequent versions down to 5.1 * Combining Half Marks (FE20–FE2F), versions 1.0, with modifications in subsequent versions down to 8.0 If it is, we check if the last cell appears to contain a valid symbol, and if so, we attempt to compose (combine) the last cell with the current character, using utf8proc. If the result is a combined character, we replace the content in the previous cell with the new, combined character. Thus, if you select and copy the printed character, you would get e.g. "\u00e1" instead of "a\u0301". This feature can be disabled. By default, it is enabled if the utf8proc library is found, but can be explicitly disabled, or enabled, with 'meson -Dunicode-combining=disabled|enabled'.
4.2 KiB
4.2 KiB
Changelog
Unreleased
Added
- User configurable key- and mouse bindings. See
man 5 footand the examplefootrc(https://codeberg.org/dnkl/foot/issues/1) - initial-window-mode option to
footrc, that lets you control the initial mode for each newly spawned window: windowed, maximized or fullscreen. - app-id option to
footrcand--app-idcommand line option, that sets the app-id property on the Wayland window. - title option to
footrcand--titlecommand line option, that sets the initial window title. - Right mouse button extends the current selection.
CSI Ps ; Ps ; Ps tescape sequences for the following parameters:11t,13t,13;2t,14t,14;2t,15t,19t.- (Optional) spport for unicode combining characters. For example,
a\u0301will be combined toá(\u00e1). Note that copying the printed character to the clipboard/primary selection will copy the byte\u00e1and not\u0061\u0301. It requires utf8proc. By default, the feature is enabled if utf8proc is found. However, it can also be explicitly disabled (or enabled) withmeson -Dunicode-combining=enabled|disabled)
Changed
- Spaces no longer removed from zsh font name completions.
- Default key binding for spawn-terminal to ctrl+shift+n.
- Renderer is now much faster with interactive scrolling (https://codeberg.org/dnkl/foot/issues/4)
- memfd sealing failures are no longer fatal errors.
- Selection to no longer be cleared on resize.
- The current monitor's subpixel order (RGB/BGR/V-RGB/V-BGR) is
preferred over FontConfig's
rgbaproperty. Only if the monitor's subpixel order isunknownis FontConfig'srgbaproperty used. If the subpixel order isnone, then grayscale antialiasing is used. The subpixel order is ignored if antialiasing has been disabled.
Deprecated
Removed
- Keyboard/pointer handler workarounds for Sway 1.2.
Fixed
- Sixel images moved or deleted on window resize.
- Cursor sometimes incorrectly restored on exit from alternate screen.
- 'Underline' cursor being invisible on underlined text.
- Restored cursor position in 'normal' screen when window was resized while in 'alt' screen.
- Hostname in OSC 7 URI not being validated.
- OSC 4 with multiple
c;specpairs. - Alt+Return to emit "ESC \r".
- Trackpad sloooow scrolling to eventually scroll a line.
- Memory leak in terminal reset.
- Translation of cursor coordinates on resize
Security
1.2.3
Fixed
- Forgot to version bump 1.2.2
1.2.2
Changed
- Changed icon name in
foot.desktopandfoot-server.desktopfrom terminal to utilities-terminal. XDG_SESSION_IDis now included in the server/daemon default socket path.
Fixed
- Window size doubling when moving window between outputs with different scaling factors (https://codeberg.org/dnkl/foot/issues/3).
- Font being too small on monitors with fractional scaling (https://codeberg.org/dnkl/foot/issues/5).
1.2.1
Fixed
- Building AUR package
1.2.0
Added
- Run-time text resize using ctrl-+, ctrl+- and ctrl+0
- Font size adjusts dynamically to outputs' DPI
- Reflow text when resizing window
- pad option to
footrc - login-shell option to
footrcand--login-shellcommand line option - Client side decorations (CSDs). This finally makes foot usable on GNOME.
- Sixel graphics support
- OSC 12 and 112 escape sequences (set/reset text cursor color)
- REP CSI escape sequence
octo terminfo- foot-server.desktop file
- Window and cell size reporting escape sequences
--holdcommand line option--print-pid=FILE|FDcommand line option
Changed
- Subpixel antialiasing is only enabled when background is opaque
- Meta/alt ESC prefix can now be disabled with
\E[?1036l. In this mode, the 8:th bit is set and the result is UTF-8 encoded. This can also be disabled with\E[1024l(in which case the Alt key is effectively being ignored). - terminfo now uses ST instead of BEL as OSC terminator
- Logging to print to stderr, not stdout
- Backspace now emits DEL (^?), and ctrl+backspace emits BS (^H)
Removed
- '28' from DA response