aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/event.rs
Commit message (Collapse)AuthorAge
...
* Add support for searching without vi modeChristian Duerr2020-07-15
| | | | | | | | This implements search without vi mode by using the selection to track the active search match and advancing it on user input. The keys to go to the next or previous match are not configurable and are bound to enter and shift enter based on Firefox's behavior. Fixes #3937.
* Fix padding change not being applied immediatelyKirill Chibisov2020-07-15
|
* Remove gui dependencies from alacritty_terminalKirill Chibisov2020-07-11
| | | | | | | | This commit removes font dependency from alacritty_terminal, so it'll simplify the usage of alacritty_terminal as a library, since you won't link to system's libraries anymore. It also moves many alacritty related config options from it. Fixes #3393.
* Add readline bindings to searchChristian Duerr2020-07-10
| | | Fixes #3938.
* Add option to run command on bell Kirill Chibisov2020-07-10
| | | Fixes #1528.
* Add regex scrollback buffer searchChristian Duerr2020-07-09
| | | | | | | | | | This adds a new regex search which allows searching the entire scrollback and jumping between matches using the vi mode. All visible matches should be highlighted unless their lines are excessively long. This should help with performance since highlighting is done during render time. Fixes #1017.
* Add selection expansionChristian Duerr2020-06-23
| | | | | | | This allows for expanding the selection using the right mouse button. The new selection type depends on the number of clicks and applies to both sides of the selection. Fixes #1554.
* Add automatic scrolling during selectionChristian Duerr2020-06-18
| | | | | | | | | | | | | This adds a new `Scheduler` which allows for staging events to be processed at a later time. If there is a selection active and the mouse is above or below the window, the viewport will now scroll torwards the direction of the mouse. The amount of lines scrolled depends on the distance of the mouse to the boundaries used for selection scrolling. To make it possible to scroll while in fullscreen, the selection scrolling area includes the padding of the window and is at least 5 pixels high in case there is not enough padding present.
* Remove copypasta dependency from alacritty_terminalKirill Chibisov2020-06-07
|
* Remove copyright notice from filesChristian Duerr2020-06-06
| | | | | | | | | | | | | | Keeping the license as part of every file bloats up the files unnecessarily and introduces an additional overhead to the creation of new modules. Since cargo already provides excellent dependency management, most of the code-reuse of Alacritty should occur through Rust's dependency management instead of copying it source. If code is copied partially, copying the license from the main license file should be just as easy as copying from the top of the file and making some adjustments based on where it is used is likely necessary anyways.
* Add whitespace after dropped file pathsFernando2020-06-03
| | | Fixes #3767.
* Refactor Term/Grid separationChristian Duerr2020-05-30
| | | | | | | | | | | This commit aims to clear up the separation between Term and Grid to make way for implementing search. The `cursor` and `cursor_save` have been moved to the grid, since they're always bound to their specific grid and this makes updating easier. Since the selection is independent of the active grid, it has been moved to the `Term`.
* Fix build warnings on macOS/WindowsKirill Chibisov2020-05-27
|
* Add subpixel anti-aliasing support on macOS 10.14+Casper Rogild Storm2020-05-17
|
* Don't hide cursor on modifier pressDavid Herberth2020-05-06
| | | Fixes #2761.
* Extend style guideline documentationChristian Duerr2020-05-05
|
* Use frame callbacks instead of vsync on WaylandKirill Chibisov2020-05-03
| | | | | | | | | Instead of blocking on vsync, Alacritty now requests a notification from wayland about when the next frame should be rendered. this helps with input latency, since it gives alacritty more time to process events before a redraw. it also prevents alacritty from drawing unless the compositor tells it to do so. Fixes #2851.
* Add config option to set cursor thicknessKirill Chibisov2020-04-15
| | | Fixes #3526.
* Fix various mouse mode + vi mode interactionsKirill Chibisov2020-04-10
| | | | | | | | | This commit fixes some issues introduced by 1a8cd172e520e493bacc9c6a2ae6f80de086eaa3: 1. Vi cursor not moving properly on double/triple click 2. URL not launching via mouse click in vi mode + mouse mode 3. Ability to select in mouse mode with double/triple click regardless of shift modifier
* Use config colors to theme Wayland decorationsKirill Chibisov2020-04-09
| | | Fixes #2092.
* Add modal keyboard motion modeChristian Duerr2020-03-18
| | | | | | | | | | | | | | | | | | | This implements a basic mode for navigating inside of Alacritty's history with keyboard bindings. They're bound by default to vi's motion shortcuts but are fully customizable. Since this relies on key bindings only single key bindings are currently supported (so no `ge`, or repetition). Other than navigating the history and moving the viewport, this mode should enable making use of all available selection modes to copy content to the clipboard and launch URLs below the cursor. This also changes the rendering of the block cursor at the side of selections, since previously it could be inverted to be completely invisible. Since that would have caused some troubles with this keyboard selection mode, the block cursor now is no longer inverted when it is at the edges of a selection. Fixes #262.
* Update to glutin 0.24.0Christian Duerr2020-03-12
| | | | | | | | Fixes #3266. Fixes #3248. Fixes #3188. Fixes #3177. Fixes #2445. Fixes #1574.
* Fix selection with invisible start and endChristian Duerr2020-03-07
| | | | | This resolves an issue with the selection clamping, where no selection would be rendered at all when the start was above the viewport while the end was below it.
* Fix ignoring of slow touchpad scrollingTimo2020-03-02
| | | Fixes #3377.
* Remove unnecessary macos focus checkChristian Duerr2020-02-27
| | | | Since winit now filters out clicks on unfocused windows on macOS anyways, we don't need to implement this logic ourselves anymore.
* Update glutin to v0.23.0Kirill Chibisov2020-02-07
| | | | | | | Fixes #3191. Fixes #3150. Fixes #1465. Fixes #1359.
* Fix reset CLI parameters on config reload (#3216)Christian Duerr2020-01-17
| | | | | | Fix reset CLI parameters on config reload Fixes #3197.
* Remove synthetic keyboard event handlingChristian Duerr2020-01-14
| | | Fixes #3109.
* Fix font size reset when moving between screensChristian Duerr2020-01-11
| | | Fixes #3183.
* Bump glutin to 0.22.0Christian Duerr2020-01-10
| | | Fixes #3165.
* Bump winit to 0.20.0 Alpha 6Christian Duerr2020-01-05
| | | | | | | | Fixes #3070. Fixes #2893. Fixes #2877. Fixes #2829. Fixes #2767. Fixes #2271.
* Send PTY resize messages through event loopDavid Hewitt2019-12-14
| | | | | | | This allows us to clean up the Arcs on windows, as well as tidy up the code on unix a little too. Fixes #3086.
* Fix minimize causing resize WindowsDavid Hewitt2019-12-09
|
* Fix WinPTY freeze on terminationMaciej Makowski2019-11-16
| | | Fixes #2889.
* Fix incorrect DPI at startup on X11Christian Duerr2019-11-12
| | | Fixes #2938.
* Fix modifier inconsistenciesChristian Duerr2019-11-11
| | | Fixes #2906.
* Fix incorrect cell foreground when clearing screenChristian Duerr2019-11-04
| | | | | | | | | | | | | This fixes a bug that would clear the cells with the current template cell with just the `flags` reset, to make sure the colors are correct. However, the cell foreground was not reset, leading to cells counting as occupied when resizing. With this change both cell flags and foreground color are ignored when clearing both the whole screen and inside the line, allowing us to accurately keep track of cell occupation. Fixes #2866.
* Fix URL highlightingChristian Duerr2019-11-03
| | | | Fixes #2898. Fixes #2479.
* Add live config reload for font family and stylewayne2019-11-03
| | | | Fixes #2737.
* Fix bell not redrawing without event updatesKenny Levinsen2019-10-25
| | | | Fixes #2914.
* Update to winit/glutin EventLoop 2.0Christian Duerr2019-10-05
This takes the latest glutin master to port Alacritty to the EventLoop 2.0 rework. This changes a big part of the event loop handling by pushing the event loop in a separate thread from the renderer and running both in parallel. Fixes #2796. Fixes #2694. Fixes #2643. Fixes #2625. Fixes #2618. Fixes #2601. Fixes #2564. Fixes #2456. Fixes #2438. Fixes #2334. Fixes #2254. Fixes #2217. Fixes #1789. Fixes #1750. Fixes #1125.