| Commit message (Collapse) | Author | Age |
| |
|
|
| |
Backward buttons)
|
| |
|
|
| |
The config values are hardcoded atm.
|
| |\ |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously whenever the user would use touch gestures to make selections
or scroll the terminal, IME would automatically be enabled due to the
focus change and reduce the terminal height. This isn't ideal when the
goal is just scanning through the terminal history without making any
input.
This patch keeps track of pointer and touch focus and only enables IME
when either the pointer is within the window or a tap touch sequence was
performed to give the window 'touch focus'.
The initial touch tap sequence used to enable IME is still forwarded to
the terminal as a simulated click event, since otherwise touch devices
without virtual keyboard would be forced into a confusing additional tap
to make it work. This means that virtual keyboard users will not be able
to open the virtual keyboard without creating a click event, which
should still be preferable to the status quo.
|
| | |
| |
| |
| |
| |
| |
| | |
This disables the OpenGL context's robustness feature since some GPUs
that advertise robustness support do not support sufficient capabilities
for our implementation.
Closes #8713.
|
| | |
| |
| |
| |
| |
| |
| | |
As this is practically the same as deleting the file it should be
treated the same and ignored.
Moving a file from somewhere to the config file is not ignored and the config
will reload as normal.
|
| | |
| |
| |
| | |
This performs all non-breaking dependency updates, which includes
unicode-width 0.2.2 for Unicode 17 support.
|
| | | |
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
When the mouse cursor was hidden with `hide_when_typing` enabled, hints
could still be highlighted under the hidden cursor. This typically
occurred when a hint moved underneath the stationary, hidden cursor.
This fix ensures hints are not highlighted by the mouse cursor while
it's hidden.
|
| | |
| |
| |
| | |
This is only an update to the development version and does not represent
a stable release.
|
| | |
| |
| | |
Closes #8664.
|
| | |
| |
| | |
Closes #8655.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a new `escape_args` option to `tty::Options` on Windows, which
can be used to automatically escape all arguments passed to the shell.
While useful to automatically make most arguments work on Windows, there
are some scenarios where it is not possible for users to properly
specify arguments with this option enabled (e.g.: `cmd /c`). An option
should always be present to disable this option when used.
The implementation is based on the `Command` code in Rust's STD lib.
|
| | | |
|
| | |
| |
| |
| | |
Since Rust 1.77, `offset_of` is available in the std.
|
| |\| |
|
| | | |
|
| | | |
|
| | |
| |
| | |
Co-authored-by: Christian Duerr <contact@christianduerr.com>
|
| | | |
|
| | |
| |
| |
| |
| | |
This changes the way the touch zoom works by switching into a separate
mode when one of the touch slots is removed, allowing continuous zoom as
long as at least one slot is active.
|
| | |
| |
| |
| |
| | |
Also apply clippy changes while at it.
Closes #8002.
|
| | | |
|
| | |
| |
| |
| | |
Previously opacity was not clamping during reading it from the config
or via IPC.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds a new `alacritty msg get-config` subcommand which can
retrieve the current config from any Alacritty window using the IPC
socket.
The command will always print the full configuration file in JSON,
without the ability to filter which values are returned, leaning on
tools like `jq` instead of adding this complexity to Alacritty.
Contrary to deserialization, this relies heavily on the default
serialization implementations to reduce the necessary changes. Key and
Mouse bindings are omitted entirely since their structure is very
complex and they tend to just bloat the message size without having an
obvious usecase.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Also use workspace to specify that.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes an issue where changes made to the bindings of a hint through
IPC were completely ignored, since the hint key bindings were only
generated on config load without regeneration on IPC config override.
While it would be possible to just filter out remove hint key bindings
based on their action and then repopulate them on IPC config reload,
this solution would be quite hacky.
To have a better distinction between traditional and hint key bindings,
the two have been entirely separated and hint bindings are just
converted to key bindings on demand. This allows easily replacing the
entire hint array without any post-processing, making it simpler to
maintain for future changes.
Closes #8568.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds Vi's semantic search and paragraph motion.
The semantic search uses either the selection or the semantic word under
the cursor and jumps to the next match in the desired direction.
Paragraph motion jumps to just above or below the current paragraph.
Closes #7961.
Co-authored-by: Fletcher Gornick <fletcher@gornick.dev>
|
| | |
| |
| |
| | |
The keys were not disambiguated, but they should be. Was just an
oversight.
|
| | | |
|
| | |
| |
| |
| | |
This could happen if the terminal is very small and cell is not entirely
visible, thus having bounds outside the terminal width/height.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When Kitty's keyboard protocol is used and Report all keys as escape
codes flag (8) is enabled, modifier key escape codes trigger the usual
"write something to the terminal" code path, which clears the selection
/ scrolls down etc.
This behavior is mostly unexpected, and makes some actions more painful
to perform (for instance copying text becomes harder: hitting CTRL to
begin the CTRL+SHIFT+C sequence clears the selection).
This patch clears the selection only if the key event is not a modifier
key, which aligns with Alacritty's usual behavior.
Fixes #8509.
|
| |\| |
|
| | |
| |
| |
| | |
This is only an update to the development version and does not represent
a stable release.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the `std::env::set_current_dir` from the `pre_exec` and ignore
error, since not changing working directory is a side effect which
shouldn't break spawning a program or block window creation.
Signed-off-by: Tycho Andersen <tycho@tycho.pizza>
Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
Co-authored-by: Christian Duerr <contact@christianduerr.com>
|
| | |
| |
| | |
Fixes #7916.
|
| | |
| |
| |
| | |
This adds the `\` character to the list of characters which will
terminate matches in Alacritty's default hint for URL recognition.
|
| | |
| |
| |
| |
| | |
This patch removes the `hold` option on `alacritty_terminal` in favor of
a `drain_on_exit` option, which will drain the PTY before shutdown. The
hold logic is instead handled in `alacritty`.
|
| | |
| |
| | |
The daemon without socket is not that useful.
|
| | |
| |
| | |
This cleans up context managing.
|
| | |
| |
| |
| |
| | |
Use context robustness to get notified about GPU resets
and try to recover from them by rebuilding the rendering
pipeline.
|
| | |
| |
| |
| |
| | |
The wide char spacers must not be drawn, like we do for regular wide
characters.
|
| | |
| |
| |
| | |
Since this is a breaking change, it also bumps the alacritty_terminal
development version to 0.25.0-dev.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Sometimes points could end up outside of viewport, thus the screen
will need to be invalidated. The default unwrapping does handle both
cases.
Fixes: a1ed79bd2c01 (Fix highlight invalidation on grid scroll)
|
| | |
| |
| |
| |
| | |
This is only an update to the development version and does not represent
a stable release.
|