aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2023-11-10Remove `alacritty_config` from alacritty_terminalKirill Chibisov
There's no need to force alacritty's user configuration on other users of the crate, thus provide the options actually used by alacritty_terminal itself.
2023-11-04Bump ahash to 0.8.6Julian Braha
2023-11-03Fix crash when leaving search after resizeChristian Duerr
This fixes a crash which could occur when leaving search with a visible match after shrinking the terminal height to be lower than the original line the focused match was in. Closes #7054.
2023-10-30Bump glutin to 0.31.1Kirill Chibisov
This fixes a crash on startup with macOS Sonoma.
2023-10-30Add man 5 pages to upload_asset.shKirill Chibisov
They are compiled, but not being uploaded.
2023-10-29Add `window.blur` config optionKirill Chibisov
Fixes #972.
2023-10-29Fix clippy warningsPavel Roskin
2023-10-27Avoid maximizing window when creating new tabKyle Willmon
This patch ignores the startup mode when creating a new tab on macOS to avoid maximizing an existing window. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-10-27Add version 0.12.3 to CHANGELOGKirill Chibisov
This is only an update to the development version and does not represent a stable release.
2023-10-25Fix typosPavel Roskin
2023-10-25Prefer exact matches for bindings in mouse modePavel Roskin
Only consider bindings without Shift if there are no actions defined for the actual mouse event. Closes #7292.
2023-10-23Fix crash due to wrong drop order of clipboardKirill Chibisov
Fixes #7309.
2023-10-21Update winit to 0.29.2 and copypasta to 0.10.0Kirill Chibisov
Fixes #7236. Fixes #7201. Fixes #7146. Fixes #6848. Fixes #3601. Fixes #3108. Fixes #2453.
2023-10-20Bump rustix to 0.38.20Kirill Chibisov
2023-10-20Add inline vi mode searchChristian Duerr
This patch adds inline search to vi mode using `f`/`F` and `t`/`T` as default bindings. The behavior matches that of vim. Fixes #7203.
2023-10-15Fix `window.decorations_theme_variant` reloadKirill Chibisov
The live reload handling wasn't introduced when the option got added. Fixes #7295.
2023-10-11Use openpty-rustix instead of nixKirill Chibisov
Follow upstream libraries and use rustix to reduce the amount of dependencies in the future. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-10-09Fix regex patterns allowing for empty stringsChristian Duerr
This patch changes the mode we search for patterns which allow an empty string, by anchoring all searches. As a result we will match the longest possible match when multiple patterns are present (like `;*|rust`), instead of using the leftmost pattern only. This is only possible with empty matches since our parser is reset on every byte anyway, so anchoring the search makes no difference. Fixes #7276.
2023-10-08Fix regex matches ending on multilineChristian Duerr
This fixes an issue where the reverse search for the regex start would truncate a character when ending on a newline, since it was omitting the EOI check in that case. This also fixes a separate issue which caused regexes which capture empty strings (e.g.: `.*`) to always report a match. This is a regression introduced in 73276b6.
2023-10-08Fix PTY being closed on creationKirill Chibisov
The PTY got closed because `OwnedFd` automatically closed it. Fixes: 59c63d37 (Update dependencies)
2023-10-08Update dependenciesChristian Duerr
This patch applies all breaking and non-breaking dependency updates and bumps MSRV to 1.70.0.