| Commit message (Collapse) | Author | Age |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\| |
|
| | | |
|
| | |
| |
| |
| | |
Since Rust 1.77, `offset_of` is available in the std.
|
| |\| |
|
| | | |
|
| | |
| |
| |
| |
| | |
Also apply clippy changes while at it.
Closes #8002.
|
| | | |
|
| | | |
|
| |\| |
|
| | |
| |
| |
| |
| | |
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.
|
| |\| |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes an issue with hints where it was possible that the terminal
content of highlighted hints changed between the highlighted hint update
and the activation of the hint.
This patch always validates the hint's text content against the hint
itself to ensure that the content is still valid for the original hint
which triggered the highlight.
Closes #8277.
|
| |\| |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This fixes an issue where an inline search in the left direction would
incorrectly assume that the first cell searched would not contain the
`WRAPLINE` flag, causing the second search for the match end to
terminate prematurely.
Fixes #8060.
|
| | | |
|
| | | |
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix incorrect usage of the `flags` when drawing the preedit resulting
in setting the `flags`, but not actually reading the value back.
The logic to skip things was also used incorrectly, because the renderer
does that already based on the `WIDE_CHAR` flag on the cell.
Fixes: 67a433ceed (Skip whitespaces for wide chars in preedit)
|
| |\| |
|
| | |
| |
| |
| |
| |
| | |
Sextants are similar to quadrants and should align with them and
other box drawing, thus use builtin font to align them properly.
Part-of: #7422.
|
| | |
| |
| | |
Fixes #7470.
|
| | |
| |
| | |
With MSRV 1.70, std now contains the necessary parts.
|
| | | |
|
| | |
| |
| |
| |
| | |
Some hardware is just bad.
Fixes #7404.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
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)
|
| | |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| | |
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.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #7236.
Fixes #7201.
Fixes #7146.
Fixes #6848.
Fixes #3601.
Fixes #3108.
Fixes #2453.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| | |
Co-authored-by: Christian Duerr <contact@christianduerr.com>
|
| | |
| |
| |
| | |
Make the renderer more debuggable by adding extra logging and using
`GL_KHR_debug` when running with the debug log level.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes an issue with terminal resizes when the selection is on the
last line. Alacritty would fail to rotate lines and keep the selection
in the same line index whenever the terminal line count was grown or
shrunk.
This issue occurred due to the range passed to the selection's rotate
function still being based on the old terminal size, which caused the
initial or target state of the rotation to be outside of the terminal
bounds.
Closes #6698.
|
| |\| |
|
| | |
| |
| |
| |
| | |
This fixes the regression introduced by 2d27fff.
Fixes #6688.
|
| | |
| |
| | |
Fixes #6209.
|
| | |
| |
| | |
Fixes #6201.
|
| | |
| |
| | |
This reverts commit d5e9d1d88317afc1f4374f2c2a7679cece14cb7b.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Fixes #6644.
Fixes #6615.
Fixes #6558.
Fixes #6515.
Fixes #3187.
Fixes #62.
|