summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-22Add `terminal` config section to control OSCs Kirill Chibisov
Some environments demand certain OSC sequences to be disabled or some escape sequence could require handling which is out of scope of alacritty, but could be done by external script (OSC 777). Added section for now just handles the `OSC 52` sequence and changes its default to be `OnlyCopy`, which is handy for remote copy, but `Paste` is redundant because normal `Paste` hotkey could be used as well. Fixes #3386. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-07-21Mention `Forward`/`Back` mouse buttons in man pageKirill Chibisov
They were mentioned only in the changelog, but forgotten in the man page.
2023-07-20Fix keys like `+` not working on neo layoutsKirill Chibisov
The key_without_modifier removes all the modifiers including the multiple shift levels, which is not desired. In alacritty we just wanted to treat uppercase and lowercase latters the same, which we can with the help of builtin functions.
2023-07-20Fix manpage docs for shell sectionChristian Duerr
Closes #7087. Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
2023-07-20Use bracketed paste only for multi-char IME inputKirill Chibisov
Some IME setups do only `commit` single char input, like fcitx5 when doing ru input.
2023-07-19Fix license syntaxAndrea Frigido
This patch updates the license field to follow the SPDX 2.1 license expression standard.
2023-07-18Remove unnecessary mutable referencesPavel Roskin
2023-07-18Use lowercase latters in bindings for h/m/lKirill Chibisov
They were using uppercase latters, however our config expects everything as lowercase, because we're using `key_without_modifiers` + `ModifiersState`.
2023-07-16Mention all the actions in the man pageKirill Chibisov
A lot of actions were left without a notice, so the only way to figure out some of them was to browse source code. An example of such actions were `Maximize` and `Minimize`, since we don't have a binding for them, so they were left even in alacritty-bindings(5). Explicitly list all the bindings we have. The search bindings were also not accurately restricted, since we allow them to be executed inside regardless of mode.
2023-07-13Prefer logical key for named keysKirill Chibisov
Some keyboard layouts have named logical keys via shift combinations of some sorts. So prefer them. Fixes #7076.
2023-07-13Raise double click threshold to 400msKirill Chibisov
This should improve the situation with some touchpads. GTK4 is also using the same value.
2023-07-13Unset `XDG_ACTIVATION_TOKEN` in alacritty_terminalKirill Chibisov
This variable is what being used for Wayland's activation stuff.
2023-07-13Fix `window.option_as_alt=Both`Kirill Chibisov
Fixes #7077.
2023-07-12Fix configuration link typoNick Reilingh
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-07-11Update to the new winit keyboard APIKirill Chibisov
The main highlight of this update is that alacritty will now use new keyboard API from the winit, which resolves a lot of issues around key bindings, such as ability to bind dead keys. It also fixes long standing issues with the virtual key code bindings and make bindings in general more predictable. It also makes our default Vi key bindings fully working. Given that alacritty was using `VirtualKey` directly in the bindings from the winit, and winit simply removed the enum, we've added internal conversions to minimize the fallout, but new way to specify the bindings should be more intuitive. Other part of this update fixes some forward compatibility bugs with the Wayland backend, given that wayland-rs 0.30 is fully forward compatible. The update also fixes weird Maximized startup issues on GNOME Wayland, however they were present on any sane compositor. Fixes #6842. Fixes #6455. Fixes #6184. Fixes #5684. Fixes #3574. Fixes #3460. Fixes #1336. Fixes #892. Fixes #458. Fixes #55.
2023-07-10Create man5 directory along with man1Yug Shende
2023-07-07Update binding sections in config manpagePavel Roskin
2023-07-03Fix legacy bindings taking precedence over new onesKirill Chibisov
They were compared by len, but it's was wrong from the start, since a user provided binding could remove more than one builtin binding, so it was impossible for users to use their own bindings. The most reliable way to do so is to use `Option`, given that we fill default during deserialization. Fixes #7050.
2023-07-02Add a note in README about older versionsKirill Chibisov
Unfortunately it's not clear to everyone that they are looking at the development documentation.
2023-07-01Add version 0.12.2 to CHANGELOGKirill Chibisov
This is only an update to the development version and does not represent a stable release.
2023-07-01Add manpage links to "see also" sectionChristian Duerr
2023-06-29Change the default colorschemeKirill Chibisov
The new colorscheme is base16 classic dark with the bright colors generated with oklab toolkits. The base16 classic dark is less washed out and represents the current maintainers preference. The motivation to change it was subjective, though it does look like generic dark theme. On a side note, this colorscheme was used for alacritty.org web page for a long time, however it used different foreground color.
2023-06-29Remove mouse double_click/triple_click optionsSonu Bardai
Fixes #6962.
2023-06-26Add TOML migration recommendation to warningChristian Duerr
This adds a little recommendation to use `alacritty migrate` to automatically transition configuration files from YAML to TOML.
2023-06-26Update wix on the release CIKirill Chibisov
Fixes #6939.
2023-06-19Add support for loading conpty.dllPavel Roskin
Co-Authored-By: @fredizzimo Co-Authored-By: @grueslayer
2023-06-17Fix the crash when shrinking scrolled terminalKirill Chibisov
display_offset was adjusted unconditionally, thus it could go beyound the history limits, so clamp it to history like we do in grow_colums. Fixes #6862.
2023-06-17Add errors for deserializing with unknown fieldsChristian Duerr
Currently there are still some places where `Deserialize` is used rather than `ConfigDeserialize`, which means that the built-in warning for unused fields is not emitted automatically. To ensure users don't have invalid configurations, the `#[serde(deny_unknown_fields)]` annotation has been added to these structs, making it a hard error when an unknown field is present.
2023-06-17Fix parsing of integer font sizesPavel Roskin
Config file conversion broke parsing of the font size value if it's written as an integer, since TOML integers are always signed.
2023-06-17Fix freeze with some drivers when using GLXKirill Chibisov
Fixes #6972.
2023-06-15Fix `alacritty msg config` toml replacementChristian Duerr
This fixes a regression introduced in bd49067 which broke the override of configuration file variables using `alacritty msg config`. To fix this the `replace` functionality was rewritten to behave more like the `serde_utils::merge` where entire values are inserted into the existing structure rather than separating the keys from the values. Fixes: bd49067 (Switch to TOML configuration format)
2023-06-15Add option to persist hints after selectionSonu Bardai
Closes #6976.
2023-06-14Fix warnings for config importsChristian Duerr
Closes #6996.
2023-06-13Change the way we refer to IRC chatKirill Chibisov
2023-06-12Switch to TOML configuration formatChristian Duerr
This switches Alacritty's default configuration format from yaml to toml. While yaml is still supported, it is done by converting it to toml and should be removed entirely in the future. All existing features were persisted based on my testing. Behavior should not change much, though `--option` might have slightly different behavior since the entire line is not interpreted as one line of toml. A new `alacritty migrate` subcommand has been added which allows automatic migration from yaml to toml. This also could be used as a facility to automatically fix configuration file changes in the future. Closes #6592.
2023-06-11Add resolver to workspace manifestChristian Duerr
This explicitly specifies resolver "2" in the root manifest, to fix a warning introduced in a recent nightly release.
2023-06-11Bump dependenciesPavel Roskin
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-06-02Fix crash on ScaleFactorChange on WindowsKirill Chibisov
Windows is known to send zero sizes from winit in Risezed and now in ScaleFactorChanged events. They were handled in Resized, but not in ScaleFactorChanged. Fixes #6949.
2023-05-29Fix Makefile manpage generationmaierd
Signed-off-by: Dennis Maier <d.maier94@web.de> Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-05-28Move manpages to scdocChristian Duerr
This rewrites the existing manpages to use the `scdoc` format, making it simpler to read and edit the manpages without intricate roff knowledge. Some minor changes to the manpages were made in the process, mostly focusing on correcting some of the wording. The list of maintainers has also changed to ensure people not involved in the project anymore aren't unnecessarily contacted for support.
2023-05-25Fix hyperlink preview for 2 lines terminal (#6953)Kirill Chibisov
The intention was to show it, however it was hidden due to wrong comparisson check.
2023-05-25Fix 216-color cube generationChristian Duerr
This fixes a regression introduced in cb7ad5b which swapped the green and blue values when constructing the 216-color RGB cube. Fixes #6951.
2023-05-23Switch to VTE's built-in ansi featureAnhad Singh
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2023-05-22Add version 0.12.1 to CHANGELOGKirill Chibisov
2023-05-21Improve renderer debuggabilityKirill Chibisov
Make the renderer more debuggable by adding extra logging and using `GL_KHR_debug` when running with the debug log level.
2023-05-17Update patch dependenciesKirill Chibisov
2023-05-17Update clap to v4.2.7Kirill Chibisov
Fixes #6879. Fixes #6874.
2023-05-17Update xdg and dirs crateKirill Chibisov
The recent version on xdg crate moved to home crate which is used by cargo. Thus to query for home directory we can use the home dependency instead which is smaller.
2023-05-17Update bitflags to 2.2.1Kirill Chibisov
2023-05-16Fix upload from CI on windowsKirill Chibisov