aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src
Commit message (Collapse)AuthorAge
...
* Fix block selection including last columnChristian Duerr2020-02-22
| | | | | | | | The block selection will now only insert extra newline characters after each line if the last line isn't already included. This resolves an issue with duplicate newlines, since newlines are automatically appended when the last column is part of a selection. Fixes #3304.
* Fix parser stopping at unknown modesChristian Duerr2020-02-15
| | | | | | | This resolves an issue in the parser where it would stop as soon as the first unknown value is encountered in private mode/sgr attribute escapes. Fixes #3339.
* Fix incorrect display offset after rotationKirill Chibisov2020-02-12
| | | | Regression was introduced in 4cc6421daa4ff5976ab43c67110a7a80a36541e5, however it was working before only due to grid.len() bug.
* Bump vte and urlocatorChristian Duerr2020-02-11
| | | Fixes #3247.
* Revert "Fix backspace deleting chars when IME is open"Christian Duerr2020-02-10
| | | | | | | | | | | This reverts commit 7f4dce2ee04859fb0b48f15cf808b60065778703. Originally it was assumed that macOS always sends the \x7f on backspace anyways, however this is not true. It seems like the character on backspace can change even within the same terminal session, so we need to have our own binding to reliably set the correct binding. A solution for #1606 should be implemented in cooperation with winit.
* Fix selection expansion across full-width glyphsChristian Duerr2020-02-07
| | | | | | | | | | | Instead of trying to expand the start and end of a selection across full-width glyphs, the selection should now only go from its origin to the end without any kind of expansion. Instead, the expansion is now done where the cells are actually checked for their selection status, expanding across the entire full-width glyph whenever any part of it is selected. Fixes #3106.
* Mirror OSC query terminatorChristian Duerr2020-01-31
| | | Fixes #3091.
* Fix inconsistent test module namingChristian Duerr2020-01-28
|
* Fix incorrect grid.len() and grid.history_size()Kirill Chibisov2020-01-26
|
* Fix selection rotating outside of scrolling regionChristian Duerr2020-01-24
| | | | Fixes #2983.
* Fix oob error during selectionKirill Chibisov2020-01-21
| | | Fixes #3233.
* Fix first cell when selection is off screenChristian Duerr2020-01-21
| | | | | | | | | | | Since the expansion of the selection was done after clamping it to the grid, the selection would incorrectly move the clamped start over by one cell when the start was to the right of the original column. By resetting the side of the start point to `Left` before expanding, this can be circumvented. This also resolves a regression which broke backwards bracket selection. Fixes #3223.
* Disable drawing bold text bright by defaultKirill Chibisov2020-01-20
| | | | | | | | | | | | | Since the assumption is usually that bold text is drawn in bright colors, this might break some applications. However some other terminals have already taken this leap, which should lessen the impact for Alacritty. Since this might still be desired and necessary for certain applications, the config option is just switched to draw with normal colors by default, however the old behavior can still be restored. Fixes #2779.
* Remove scrolling.auto_scroll featureKirill Chibisov2020-01-20
| | | Fixes: #1873
* Expand line selection across wrapped linesChristian Duerr2020-01-15
|
* Remove Windows working directory canonicalizationDavid Hewitt2020-01-15
| | | Fixes #3198.
* Bump VTE to 0.5.0Christian Duerr2020-01-12
| | | | | | | | | | This change includes dynamic escape buffer support in VTE, which allows us to have arbitrary escape sizes. Since tmux could potentially use very long escapes for the clipboard escape, this allows copying more text. Fixes #1002.
* Fix crash with invalid working directoryChristian Duerr2020-01-12
|
* Move Alacritty to organizationChristian Duerr2020-01-11
| | | | | | | | This fixes various outdated links pointing to the old jwilm/alacritty repository. Since `copypasta` now has its own github repository at https://github.com/alacritty/copypasta, the sources have been removed from Alacritty.
* Bump glutin to 0.22.0Christian Duerr2020-01-10
| | | Fixes #3165.
* Fix cut off full width glyphs in last columnChristian Duerr2020-01-09
| | | | | | | | | | | | This resolves the issue with full width glyphs getting rendered in the last column. Since they need at least two glyphs, it is not possible to properly render them in the last column. Instead of rendering half of the glyph in the last column, with the other half cut off, an additional spacer is now inserted before the wide glyph. This means that the specific glyph in question is then three cells wide. Fixes #2385.
* Update outdated reftestsKirill Chibisov2020-01-04
|
* Clean up Windows PTY string handlingDavid Hewitt2020-01-02
| | | | | Removes widestring and dunce dependencies, reduces some code duplication and corrects a few typos.
* Remove C1 escape supportChristian Duerr2019-12-31
| | | | Fixes #2981.
* Remove outdated information from READMEKirill Chibisov2019-12-29
|
* Fix screen reset not clearing cell flagsChristian Duerr2019-12-24
|
* Fix crash on clear when scrolled up in historyKirill Chibisov2019-12-22
| | | Fixes #3112.
* Remove unneeded NamedPipe::connect() callsDavid Hewitt2019-12-22
| | | | In the way the code was set up, these calls would always do nothing and return io::ErrorKind::WouldBlock, so they can be safely removed.
* Default to ConPTY instead of WinPTYDavid Hewitt2019-12-21
|
* Fix Windows CI build failureChristian Duerr2019-12-21
|
* Add conpty dynamic loading restrictions docssterlingjensen2019-12-15
|
* 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 storage rotation errorChristian Duerr2019-12-13
| | | | | | | This fixes a regression introduced in e99057b179cbdc0851c36575dd043fcdaa45437a, which used `self.len` to calculate the remainder of `self.zero` during rotation instead of `self.inner.len()`, leading to a broken `self.zero` offset and incorrect rotation.
* Fix crash when resizing AlacrittyChristian Duerr2019-12-12
| | | Fixes #3088.
* Fix deadlock when closing on Windows using ConptyDavid Hewitt2019-12-12
| | | Fixes #3042.
* Fix colored row reset performanceChristian Duerr2019-12-10
| | | | | | | | | | | | | | This fixes a bug where a row would always get reset completely if its background does not equal the default terminal background. This leads to big performance bottlenecks when running commands like `echo "\e[41m" && yes`. Instead of resetting the entire row whenever the template cell is not empty, the template cell is now compared to the last cell in the row. The last cell will always be equal to the previous template cell when `row.occ < row.inner.len()` and if `occ` is equal to the row's length, the entire row is always reset anyways. Fixes #2989.
* Remove unnecessary lifetimes from winptysterlingjensen2019-12-05
|
* Fix `OSC 52` with empty clipboard paramChristian Duerr2019-11-28
| | | | | | | | | This fixes the behavior of the clipboard escape (`OSC 52`) when the second parameter is not specified. If it is missing, the parameter is now assumed to be `c`, defaulting to the default clipboard. This has been fixed both for writing and reading. Fixes #3037.
* Move renderer from alacritty_terminal to alacrittyKirill Chibisov2019-11-23
|
* Remove tests failing in release modeChristian Duerr2019-11-19
|
* Fix deletion of lines when clearing the screenNathan Lilienthal2019-11-18
| | | | | | | | | | Previously Alacritty would delete lines when clearing the screen, leading to a loss of data in the scrollback buffer. Instead of deleting these lines, they are now rotated outside of the visible region. This also fixes some issues with Alacritty only resetting lines partially when the background color of the template cell changed. Fixes #2199.
* Fix ESC escapes not ignoring invalid intermediatesKirill Chibisov2019-11-17
| | | | | | | | Previously, `ESC` escapes would ignore invalid intermediates and still execute the specified actions, leading to false positives. If there's an unexpected, intermediate specified now, the escape will be dropped. This also fixes an issue with `CSI Ps c` not dropping the escape with invalid intermediates.
* Fix cell reset not clearing flags and foregroundKirill Chibisov2019-11-17
| | | Fixes #2330.
* Fix WinPTY freeze on terminationMaciej Makowski2019-11-16
| | | Fixes #2889.
* Fix `CSI Ps M` deleting lines above cursorChristian Duerr2019-11-15
| | | | Fixes #2984.
* Fix division by zero without any cols or linesBurak Yigit Kaya2019-11-14
| | | | | | | | | The URL check uses a division to wrap column indices across lines, which will cause a runtime error if the size of the terminal is zero columns wide. Since a lot of our logic assumes that we at least have one column and line to work with and our behavior doesn't matter otherwise, this change fixes the terminal dimensions to have space for at least one cell.
* Fix mouse modes not being mutually exclusiveKirill Chibisov2019-11-12
|
* Add escape for reading clipboardChristian Duerr2019-11-11
|
* Add UTF-8 mouse mode supportKirill Chibisov2019-11-04
| | | | Fixes #1934.
* 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.