summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-19Bump version to 0.8.0v0.8.0alacritty_terminal_v0.14.0v0.8.0Christian Duerr
2021-05-10Bump version to 0.8.0-rc6v0.8.0-rc6alacritty_terminal_v0.14.0-rc6Christian Duerr
2021-05-10Fix default URL bindingChristian Duerr
The default binding for launching the URL hints was documented as Ctrl+Shift+U, but never actually set. This adds this binding as the default instead of having URLs only launchable using the mouse.
2021-05-09Bump version to 0.8.0-rc5v0.8.0-rc5alacritty_terminal_v0.14.0-rc5Christian Duerr
2021-05-09Fix URL highlighting with unicode whitespaceChristian Duerr
The URL highlighting regex would automatically terminate on an ascii whitespace, however there are several other forms of whitespace that are indistinguisable to a user from normal whitespace. To make things a little more intuitive, all unicode whitespace will now terminate URLs.
2021-05-09Bump version to 0.8.0-rc4v0.8.0-rc4alacritty_terminal_v0.14.0-rc4Christian Duerr
2021-05-09Fix unnecessary redraws due to hint highlightingChristian Duerr
When the mouse cursor is moved by at least one cell, an update to the highlighted hints is triggered automatically. Previously this would always update the hints and redraw Alacritty regardless of the actualy change to the hint highlighting. By checking if the hint highlighting has actually changed, pointless redraws can be prevented. This is especially helpful since mouse motions often generate a lot of hint re-computations.
2021-05-09Add Ctrl+c binding for exiting hint modeabsorber
2021-05-09Fix crash when copying out of bounds selectionsChristian Duerr
Fixes #5067.
2021-05-01Bump version to 0.8.0-rc3v0.8.0-rc3alacritty_terminal_v0.14.0-rc3Christian Duerr
2021-05-01Update crossfont to 0.3.0Christian Duerr
2021-05-01Bump version to 0.8.0-rc2v0.8.0-rc2alacritty_terminal_v0.14.0-rc2Christian Duerr
2021-05-01Add changelog entry for config url changeChristian Duerr
2021-05-01Fix release mode testsChristian Duerr
Fixes #5041.
2021-05-01Fix single column block selectionChristian Duerr
Fixes #5039.
2021-05-01Add deprecation warning for mouse URL configChristian Duerr
Fixes #5035.
2021-05-01Bump version to 0.8.0-rc1v0.8.0-rc1alacritty_terminal_v0.14.0-rc1Christian Duerr
2021-04-30Use cell colors for focused match CellRgbNathan Lilienthal
Fixes #5022. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2021-04-30Cleanup config path logging without any filesNathan Lilienthal
Co-authored-by: Christian Duerr <contact@christianduerr.com>
2021-04-30Add support for magnet URLsRaphael Nestler
2021-04-30Fix highlighting multiple hints in the same lineChristian Duerr
Fixes #5010.
2021-04-29Fix replacement of fullwidth charactersChristian Duerr
Fixes #3726.
2021-04-26Update vi-mode `Open` config docs for hintsNathan Lilienthal
2021-04-22Fix cursor expansion across wide charsChristian Duerr
This fixes a regression introduced in 0.7.0 where the block cursor would not expand across both cells anymore when on top of a wide char spacer cell. The logic to always move the cursor on the wide char instead of the spacer has been moved to the alacritty_terminal crate, making sure it is always performed before any processing in the UI.
2021-04-17Fix out of order terminal query responsesChristian Duerr
This forces all responses made to the PTY through the indirection of the UI event loop, making sure that the writes to the PTY are in the same order as the original requests. This just delays all escape sequences by forcing them through the event loop, ideally all responses which are not asynchronous (like a clipboard read) would be made immediately. However since some escapes require feedback from the UI to mutable structures like the config (e.g. color query escapes), this would require additional locking. Fixes #4872.
2021-04-17Fix selection flooding Wayland connectionChristian Duerr
This resolves an issue where an excessive clipboard update frequency would cause the Wayland display server to ignore necessary selection updates. Instead of copying the selection to the clipboard during the selection process, it is now only copied once the mouse button is released. Fixes #4953.
2021-04-17Update dependenciesChristian Duerr
This includes a bump to VTE resolving an issue with invalid intermediates when transitioning from DCS to ESC sequences. This should however not be noticeable with any existing escape sequences. Fixes #4827.
2021-04-16Fix mouse reportsChristian Duerr
The patch 9cb5562 has introduced a regression which would abort if a mouse report's line was bigger than zero, which is the exact opposite of when a mouse report is required. Fixes #4980.
2021-04-15Fix mouse point crash on resizeChristian Duerr
This resolves an issue with Alacritty crashing after a resize, due to the last cached mouse point being out of bounds. Instead of caching the mouse point, it is now computed on demand to make sure it can never be invalid. Fixes #4977.
2021-04-15Add hint action for moving the vi cursorChristian Duerr
Fixes #4319.
2021-04-14Fix initial vi cursor position while in scrollbackChristian Duerr
Fixes #4968.
2021-04-14Fix hint label with start above viewportChristian Duerr
Fixes #4960.
2021-04-14Fix URL highlight in mouse mode without shiftChristian Duerr
This resolves a regression introduced in 96fc9ec where URLs would get highlighted on mouse hover while mouse mode is active even when the shift modifier was not held down.
2021-04-13Add vi/mouse hint highlighting supportChristian Duerr
This patch removes the old url highlighting code and replaces it with a new implementation making use of hints as sources for finding matches in the terminal.
2021-04-08Add hide other windows binding on macOSKam Kudla
Fixes #3697.
2021-04-08Fix automatic scrolling on resizeRichard Steinmetz
2021-04-03Add copy/paste/select hint actionsChristian Duerr
This adds some built-in actions for handling hint selections without having to spawn external applications. The new actions are `Copy`, `Select` and `Paste`.
2021-04-02Fix focused match selection colorChristian Duerr
In 3bd5ac221ab3b122962063edd1f4c10f9f2d117f a regression was introduced which caused the selection of a focused match to invert the cell color back to its original color. This was due to the removal of the `is_match` flag on the renderable cell, which was used to make sure a cell is not marked as part of a match if it is already part of a selection. Instead of relying on a flag that is passed through from content.rs, the application of the cell colors is instead done in the content.rs file directly. This not only fixes the bug with selecting the focused match, but also makes the logic a bit more transparent. Fixes #4934.
2021-03-31Keep viewport in place during resizeRichard Steinmetz
Fixes #4879. Co-authored-by: Christian Duerr <contact@christianduerr.com>
2021-03-30Unify the grid line indexing typesChristian Duerr
Previously Alacritty was using two different ways to reference lines in the terminal. Either a `usize`, or a `Line(usize)`. These indexing systems both served different purposes, but made it difficult to reason about logic involving these systems because of its inconsistency. To resolve this issue, a single new `Line(i32)` type has been introduced. All existing references to lines and points now rely on this definition of a line. The indexing starts at the top of the terminal region with the line 0, which matches the line 1 used by escape sequences. Each line in the history becomes increasingly negative and the bottommost line is equal to the number of visible lines minus one. Having a system which goes into the negatives allows following the escape sequence's indexing system closely, while at the same time making it trivial to implement `Ord` for points. The Alacritty UI crate is the only place which has a different indexing system, since rendering and input puts the zero line at the top of the viewport, rather than the top of the terminal region. All instances which refer to a number of lines/columns instead of just a single Line/Column have also been changed to use a `usize` instead. This way a Line/Column will always refer to a specific place in the grid and no confusion is created by having a count of lines as a possible index into the grid storage.
2021-03-28Fix cursor thickness on wide cellsStokhos
Fixes #4922.
2021-03-15Fix URLs opening in explorer on WindowsSerban Constantin
2021-03-12Fix inconsistent_struct_constructor clippy lintMatthias Krüger
2021-03-06Fix vi mode searchChristian Duerr
This fixes a regression introduced in a954e07 which caused the vi mode cursor to be invisible after starting a search. This was caused by a discrepancy between the search DFA and search active state, since a search is not active after it has been confirmed but the DFAs are still present for highlighting.
2021-03-01Add regex terminal hintsChristian Duerr
This adds support for hints, which allow opening parts of the visual buffer with external programs if they match a certain regex. This is done using a visual overlay triggered on a specified key binding, which then instructs the user which keys they need to press to pass the text to the application. In the future it should be possible to supply some built-in actions for Copy/Pasting the action and using this to launch text when clicking on it with the mouse. But the current implementation should already be useful as-is. Fixes #2792. Fixes #2536.
2021-03-01Remove incorrect changelog entryChristian Duerr
Since the bug was not present in the 0.7.2 release, there is no need to add a changelog entry for this fix.
2021-02-28Add Windows version requirements to readmer-c-f
Fixes #4846.
2021-02-27Run clippy on MSRVChristian Duerr
Since not all suggested clippy lints by stable clippy are supported on the MSRV of Alacritty, this commit moves the clippy checks to the MSRV. Unfortunately this will mean that our lints might be significantly behind, however it ensures our CI never blocks any code that should be valid. Developers themselves of course can still run the latest clippy to follow the up to date recommendations.
2021-02-26Fix hollow block cursor being drawn for hidden cursorKirill Chibisov
Commit 530de00 refactored large chunk of Alacritty's internal handling of renderable cells, cursors, and such. This patch fixes a regression where a hollow block cursor was drawn for unfocused windows even if the terminal cursor was hidden.
2021-02-26Fix vi cursor after leaving searchChristian Duerr
This resolves an issue which caused the vi cursor position to be incorrect when leaving the search with the vi cursor at the far bottom. Previously this could lead to the vi cursor disappearing completely, when starting a vi mode search that has a match on the last line while the original vi mode cursor was right above it. Fixes #4833.