aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-28Mark SimpleFullscreen as macOS only startup modeKirill Chibisov
2023-12-27Bump winit to 0.29.7Kirill Chibisov
This also bumps other dependencies along the way. Fixes #2886.
2023-12-25Apply modifiers before presses in kitty protocolKirill Chibisov
While this doesn't handle releases with multiple identical modifiers pressed, the release can't work reliable anyway, since one modifier could be pressed before focusing the window, thus tracking modifiers based on the keysym values won't work as it was suggested by kitty author. Links: https://github.com/kovidgoyal/kitty/issues/6913
2023-12-22Keep IME always enabled on X11Kirill Chibisov
Fixes #7195.
2023-12-22Bump winit to 0.29.5Kirill Chibisov
Fixes #7449.
2023-12-20Account for option_as_alt when doing kitty protocolKirill Chibisov
By default `Alt` is not a real `Alt` on macOS, so we shouldn't treat it as a modifier. Fixes #7443.
2023-12-16Fix the order of `ClearSelection` in Vi modeKirill Chibisov
Fixes #7438.
2023-12-14Add link to rendered config docsChristian Duerr
This adds a link to alacritty.org's rendered configuration file documentation.
2023-12-14Update alacritty versionsChristian Duerr
This is only an update to the development versions and does not represent a stable release.
2023-12-14Bump crossfont to 0.7.0Kirill Chibisov
2023-12-08Fix message bar not damaged when the same sizeKirill Chibisov
The regression was added due to `y` coordinate in OpenGL differs to `y` inside the damage rectangles. Fixes: 40160c5d (Damage only terminal inside `alacritty_terminal`)
2023-12-08Don't emit text for NamedKey without text reprKirill Chibisov
When the key doesn't have textual representation we shouldn't emit the text for them, since they are processed via bindings. Also, fix the logic to handle named keys with disambiguate without special modes/modifiers. Fixes #7423.
2023-12-08Fix trigger of normal bindings in mouse modeKirill Chibisov
We should ensure that the `Shift` is actually pressed when trying to prefer regular bindings instead of the ones if we had Shift applied. Fixes: 500b696ca8ed (Prefer exact matches for bindings in mouse mode) Fixes #7415.
2023-12-08Update to crossfont 0.6.0Kirill Chibisov
2023-12-06Implement kitty's keyboard protocolKirill Chibisov
The protocol enables robust key reporting for the applications, so they could bind more keys and the user won't have collisions with the normal control keys. Links: https://sw.kovidgoyal.net/kitty/keyboard-protocol Fixes #6378.
2023-12-06Fix chars usage inside the mouse bindingsKirill Chibisov
Fixes #7413.
2023-12-03Don't use `::*` for enum variants in bindingsKirill Chibisov
2023-12-02Fallback to underline shader when dotted failsKirill Chibisov
Some hardware is just bad. Fixes #7404.
2023-12-01Optimize undercurl shaderKirill Chibisov
This removes the if and lowers amount of operations.
2023-11-29Fix DECRPM reportingKirill Chibisov
The DECRQM uses `p` to query, but the reply uses `y`. Fixes #7397.
2023-11-28Adjust default Vi's SearchBackwards bindingKirill Chibisov
We have the same policy with Shift for numbers.
2023-11-27Document macOS shortcuts for searchCédric Van Rompay
2023-11-24Make AA stronger for undercurlKirill Chibisov
This improves undercurl rendering preserving its original thickness. This also makes it look not out-of place when places next to other lines.
2023-11-24Bump dependenciesKirill Chibisov
Update dependencies with `cargo update` as well as do explicit update of winit, crossfont, and regex-automata.
2023-11-24Fix IME popup positioningKirill Chibisov
When setting cursor area, the popup will be placed either above or below not obscuring the supplied region, however we were still offsetting line with `+1` putting the cursor at the bottom of the line, and given that area is from the top-left corner, the wrong area was marked for not being obscured. It was also discovered that some compositors, like GNOME, position IME in the bottom right corner of the supplied region, which is wrong, but it renders IME popup not very useful, since it's far away from the place it should be, thus try to not obscure just a few characters near the cursor. Given that X11 doesn't support area setting, it uses the old logic with offsetting. Co-developed-by: lilydjwg <lilydjwg@gmail.com> Signed-off-by: lilydjwg <lilydjwg@gmail.com>
2023-11-24Damage entire window on font size changeKirill Chibisov
Font size could change without changing the cell dimensions, like becoming slightly higher/wider. Fixes: 40160c5d (Damage only terminal inside `alacritty_terminal`)
2023-11-24Add migrate to alacritty(1)Kirill Chibisov
2023-11-24Fix default for [[hints.enabled]] in man pagesKirill Chibisov
The default was incomplete, since `command` was missing.
2023-11-24Drop repo link in *SEE ALSO* man sectionsKirill Chibisov
The alacritty documentation is fully present inside the man pages, the repo provides nothing extra other than a way to report issues, which lives in its own section anyway.
2023-11-24Add example for [window] section in alacritty(5)Kirill Chibisov
This should give a hint on how to generally tweak things.
2023-11-24Improve section to TOML section refsKirill Chibisov
This should give more hints where to put things.
2023-11-24Explicitly use `=` in alacritty(5)Kirill Chibisov
This should help with understanding how to write TOML without reading too much into specification.
2023-11-24Make man pages look consistentKirill Chibisov
Part of the man pages were using _value_, other part were using just value, thus make everything as _value_. Also properly dot terminate and add spacing through out the man pages.
2023-11-24Fix SelectLastTab in alacritty-bindings(5)Kirill Chibisov
2023-11-24Make sections the same case in man pagesKirill Chibisov
2023-11-24Create only one branch per major releaseKirill Chibisov
Having a separate branch for each release makes it harder to maintain without an actual benefit, since every release from the major version is linear, so creating branches doesn't make any sense. They also collapse with the tag names leading to ambiguous refs.
2023-11-23Damage only terminal inside `alacritty_terminal`Kirill Chibisov
The damage tracking was including selection and vi_cursor which were rendering viewport related, however all the damage tracking inside the `alacritty_terminal` was _terminal viewport_ related, meaning that it should be affected by `display_offset`. Refactor the damage tracking so `alacritty_terminal` is only tracking actual terminal updates and properly applying display offset to them, while `alacritty` pulls this damage into its own UI damage state. Fixes #7111.
2023-11-23Add support for DECRPM/DECRQMKirill Chibisov
2023-11-23Update VTE to 0.13.0Kirill Chibisov
2023-11-22Add error handling for OpenGL connection detailsPavel Roskin
2023-11-19Simplify powerline drawing algorithmKirill Chibisov
Iterate over points in line instead of drawing it right away and then finding it in the buffer. Fixes: 4a26667060 (Use builtin font to draw powerline symbols)
2023-11-14Fix Vi cursor not being dirty when scrollingKirill Chibisov
2023-11-13Fix Sync capability in terminfoGregory Anders
Alacritty has supported mode 2026 for synchornized updates for a few months, but the terminfo entry still used the old DCS sequence originally supported by iTerm2. Since many other terminal emulators and applications seem to be standardizing around 2026, change the terminfo entry to use SM instead of DCS.
2023-11-13Fix message bar damageKirill Chibisov
Fixes #7224.
2023-11-13Fix visual bell getting stuck on macOSKirill Chibisov
Fixes #7325.
2023-11-13Change default `bell.animation` to `Linear`Kirill Chibisov
The default animation feels really choppy, but it's just how its function looks.
2023-11-11Add `--option` argument to `create-window`Christian Duerr
This patch adds a new CLI parameter to the `create-window` subcommand, matching the existing `--option` parameter when creating a new Alacritty instance. This parameter allows setting up the initial window configuration from the CLI without having to call `alacritty msg config`, making sure that all options are set appropriately right from the start. Closes #6238.
2023-11-11Unify CLI config override mechanismsChristian Duerr
This patch changes the way the `-o` config option works when specified at startup to function the same way as the IPC mechanism. While this should technically perform the exact same way, it should hopefully make it a little easier to understand how CLI config replacement works.
2023-11-11Use builtin font to draw powerline symbolsKirill Chibisov
In addition to box drawing it was decided to also draw powerline symbols, since those are quite common and rather simple to draw with present box drawing infra.
2023-11-10Fix cursor being hidden after reaching timeoutKirill Chibisov
The timeout and blink events could be delivered at the same time, so canceling blinking won't work and we'll still have an event.