aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/input/mod.rs
Commit message (Collapse)AuthorAge
* Have alacritty pass through X1Mouse and X2Mouse to Vim. (Forward and ↵Josh Rahm2025-11-12
| | | | Backward buttons)
* Ignore touch gestures for enabling IMEChristian Duerr2025-10-26
| | | | | | | | | | | | | | | | | | 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.
* Migrate to 2024 editionChristian Duerr2025-07-13
|
* Add multi-sequence touch zoom supportChristian Duerr2025-07-04
| | | | | 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.
* Fix clippy warningsKirill Chibisov2025-05-28
|
* Add * # { } vi motionsChristian Duerr2025-05-20
| | | | | | | | | | | | 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>
* Add option to drain PTY on shutdownAndrew Borg (Kashin)2025-01-16
| | | | | 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`.
* Don't switch semantic/line selection when control is pressedKirill Chibisov2024-12-29
| | | | Changing block selection to regular semantic one doesn't feel intuitive, thus don't switch to it when user has control pressed.
* Fix racing condition in hint triggeringChristian Duerr2024-11-02
| | | | | | | | | | | 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.
* Add IME support to inline searchChristian Duerr2024-10-15
| | | | | | | | | | | This changes the behavior of inline search from only accepting direct key inputs, to also accepting IME and paste. The additional characters are still being discarded, matching the existing behavior. This also fixes an issue where inline search wouldn't work for characters requiring modifiers, since the modifier press was interpreted as the search target instead. Closes #8208.
* Unify string formattingHamir Mahal2024-07-24
|
* Bump dependenciesKirill Chibisov2024-07-17
| | | | Update winit and clap to latest versions.
* Fix mouse mode bindings with multiple actionsEBADBEEF2024-05-16
| | | | | | | | | | | | | | | | The following config was broken: ``` [mouse] bindings = [ { mouse = "Right", mods = "Shift", action = "Copy" }, { mouse = "Right", mods = "Shift", action = "ClearSelection" }, ] ``` Only the first action was applied. Change to allow more than one exact match in mouse mode with shift held, but keep the logic to not allow fallback search if any exact match was found. Regression was introduced in 1a143d11.
* Bump winit to 0.30.0Kirill Chibisov2024-05-04
|
* Fix crash when trying to open a new tab on macOSWilliam Viktorsson2024-04-20
| | | | | | This fixes an issue where Alacritty would crash when trying to open a new tab on macOS while having decorations disabled. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Fix clippy warningsChristian Duerr2024-02-14
|
* Allow specifying all config keys on all platformsChristian Duerr2024-01-24
| | | Closes #7592.
* Bump crossfont to 0.7.0Kirill Chibisov2023-12-14
|
* Fix trigger of normal bindings in mouse modeKirill Chibisov2023-12-08
| | | | | | | We should ensure that the `Shift` is actually pressed when trying to prefer regular bindings instead of the ones if we had Shift applied. Fixes: 500b696ca8ed (Prefer exact matches for bindings in mouse mode) Fixes #7415.
* Update to crossfont 0.6.0Kirill Chibisov2023-12-08
|
* Implement kitty's keyboard protocolKirill Chibisov2023-12-06
The protocol enables robust key reporting for the applications, so they could bind more keys and the user won't have collisions with the normal control keys. Links: https://sw.kovidgoyal.net/kitty/keyboard-protocol Fixes #6378.