Age | Commit message (Collapse) | Author |
|
This patch underlines the full regex hint match while the keyboard hint
selection is in process.
While it would be possible to color the entire match, this would only
introduce unnecessary configuration options and be too noisy. The
underline matches the mouse highlighting and has a less drastic visual
impact.
Closes #6178.
|
|
This fixes an issue where regexes with a large number of possible states
would consume excessive memory, since the entire DFA was compiled ahead
of time.
To solve this, the DFA is now built at runtime using `regex-automata`'s
hybrid DFA.
There are however still some checks performed ahead of time, causing
errors with obscenely large regexes (`[0-9A-Za-z]{999999999}`), which
shouldn't cause any issues.
A regex which is large, but not large enough to fail the NFA
construction (like `[0-9A-Za-z]{999999}`) will cause a long search of
the entire grid, but will complete and show the match.
Closes #7097.
|
|
|
|
|
|
The wiki contains a list of links to ANSI references:
https://github.com/alacritty/alacritty/wiki/ANSI-References
|
|
Some systems have rendering issues when using GLX rather than EGL. While this is
usually due to a driver bug, it is helpful to provide a workaround for this by
allowing people to prefer EGL over GLX.
This patch adds the new `debug.prefer_egl` option to provide this workaround.
Closes #7056.
|
|
Activate a window to indicate that we want initial focus when the
system uses startup notifications.
Fixes #6931.
|
|
This doesn't represnet the movement to add tabs on any other platform,
unless winit could add a similar API for them.
|
|
Make use of new winit frame throttling mechanism used in RedrawRequested,
which removes the need for having Wayland queue to ask for the frame
callbacks.
Fixes #7011.
|
|
Some sections were provided without a default, so provide an example for
them.
|
|
`None` must be inside the `"`, since it's a string value.
|
|
Fixes #6900.
|
|
While this does **not** enable the use of anchors (`^`) in user regexes,
it does prevent Alacritty from crashing when attempting to do so.
|
|
This seems like a sensible first step before looking into #7097.
|
|
|
|
|
|
This patch stores all options set for the Window ID `-1` and
automatically applies them to new windows after their creation.
This in theory makes it possible to have a fully dynamic "default
config" without having to reapply it for every new window.
Closes #7128.
|
|
|
|
|
|
After evaluation of the ahash with the data alacritty uses it was
discovered that it's 1.5-2x times faster when getting the already
hashed values, which is the primary cases for alacritty's renderer.
Given that ahash is generally faster, all the HashSet and HashMap's
inside the alacritty were changed to use it as a hasher function.
|
|
|
|
While we skip the spacers for the wide characters in the grid due to
them having a proper flags, the draw_string method was generating the
cells with incorrect flags leading to wide chars being cut off.
|
|
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>
|
|
They were mentioned only in the changelog, but forgotten in the man
page.
|
|
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.
|
|
Closes #7087.
Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
|
|
Some IME setups do only `commit` single char input, like fcitx5 when
doing ru input.
|
|
This patch updates the license field to follow the SPDX 2.1 license
expression standard.
|
|
|
|
They were using uppercase latters, however our config expects everything
as lowercase, because we're using `key_without_modifiers` +
`ModifiersState`.
|
|
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.
|
|
Some keyboard layouts have named logical keys via shift combinations
of some sorts. So prefer them.
Fixes #7076.
|
|
This should improve the situation with some touchpads. GTK4 is also
using the same value.
|
|
This variable is what being used for Wayland's activation stuff.
|
|
Fixes #7077.
|
|
Co-authored-by: Christian Duerr <contact@christianduerr.com>
|
|
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.
|
|
|
|
|
|
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.
|
|
Unfortunately it's not clear to everyone that they are looking at the
development documentation.
|
|
This is only an update to the development version and does not represent
a stable release.
|
|
|
|
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.
|
|
Fixes #6962.
|
|
This adds a little recommendation to use `alacritty migrate` to
automatically transition configuration files from YAML to TOML.
|
|
Fixes #6939.
|
|
Co-Authored-By: @fredizzimo
Co-Authored-By: @grueslayer
|
|
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.
|
|
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.
|