mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
4380d0864b
Whenever the viewport is scrolled, the selection is rotated to make sure that it moves with the viewport. However this did not correctly handle the underflow that happens when the selection goes below 0. This resolves that problem for the selection by moving the internal line representation to an isize, thus correctly keeping track of the selection start/end points even when they have a negative index. Once the selection is converted to a span, the lines are clamped to the visible region. This fixes #1640 and fixes #1643.
4 KiB
4 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
- Add support for windows
- Add terminfo capabilities advertising support for changing the window title
- Allow using scancodes in the key_bindings section
Fixed
- Fixed erroneous results when using the
indexed_colors
config option - Fixed rendering cursors other than rectangular with the RustType backend
- Selection memory leak and glitches in the alternate screen buffer
Version 0.2.1
Added
- Implement the
hidden
escape sequence (echo -e "\e[8mTEST"
) - Add support for macOS systemwide dark mode
- Set the environment variable
COLORTERM="truecolor"
to advertise 24-bit color support - On macOS, there are two new values for the config option
window.decorations
:transparent
- This makes the title bar transparent and allows the viewport to extend to the top of the window.buttonless
- Similar to transparent but also removed the buttons.
- Add support for changing the colors from 16 to 256 in the
indexed_colors
config section - Add
save_to_clipboard
configuration option for copying selected text to the system clipboard - New terminfo entry,
alacritty-direct
, that advertises 24-bit color support - Add support for CSI sequences Cursor Next Line (
\e[nE
) and Cursor Previous Line (\e[nF
)
Changed
- Inverse/Selection color is now modelled after XTerm/VTE instead of URxvt to improve consistency
- First click on unfocused Alacritty windows is no longer ignored on platforms other than macOS
- Reduce memory usage significantly by only initializing part of the scrollback buffer at startup
- The
alacritty
terminfo entry no longer requires thexterm
definition to be present on the system - The default
TERM
value is no longer static; thealacritty
entry is used if available, otherwise thexterm-256color
entry is used instead
Removed
- The terminfo entry
alacritty-256color
. It is replaced by thealacritty
entry (which also advertises 256 colors)
Fixed
- Rendering now occurs without the terminal locked which improves performance
- Clear screen properly before rendering of content to prevent various graphical glitches
- Fix build failure on 32-bit systems
- Windows started as unfocused now show the hollow cursor if the setting is enabled
- Empty lines in selections are now properly copied to the clipboard
- Selection start point lagging behind initial cursor position
- Rendering of selections which start above the visible area and end below it
Deprecated
- The config option
window.decorations
should now usefull
ornone
instead oftrue
orfalse
, respectively.
Security
- Bracketed paste mode now filters escape sequences beginning with \x1b
Version 0.2.0
Added
- Add a scrollback history buffer (10_000 lines by default)
- CHANGELOG has been added for documenting relevant user-facing changes
- Add
ClearHistory
key binding action and theErase Saved Lines
control sequence - When growing the window height, Alacritty will now try to load additional lines out of the scrollback history
- Support the dim foreground color (
echo -e '\033[2mDimmed Text'
) - Add support for the LCD-V pixel mode (vertical screens)
- Pressing enter on the numpad should now insert a newline
- The mouse bindings now support keyboard modifiers (shift/ctrl/alt/super)
- Add support for the bright foreground color
Changed
- Multiple key/mouse bindings for a single key will now all be executed instead of picking one and ignoring the rest
- Improve text scrolling performance (affects applications like
yes
, not scrolling the history)
Fixed
- Clear the visible region when the RIS escape sequence (
echo -ne '\033c'
) is received - Prevent logger from crashing Alacritty when stdout/stderr is not available
- Fix a crash when sending the IL escape sequence with a large number of lines