summaryrefslogtreecommitdiffstats
path: root/alacritty_terminal
AgeCommit message (Collapse)Author
2020-03-18Add modal keyboard motion modeChristian Duerr
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.
2020-03-14Bump version to 0.5.0-devChristian Duerr
This is a bump of the development version and does not represent a stable release.
2020-03-14Fix live config reload for window titleChristian Duerr
This enables live config reload for the window title. This includes updating the title after it has been pushed and popped from the title stack. The dynamic title option also isn't disabled automatically anymore when the title is set in the config. If the title is set from CLI, the behavior is unchanged and dynamic title changes are still disabled. If the dynamic title is disabled in the config, the title is still updated when the config title is changed. Dynamic title now only prevents changes to the UI's title.
2020-03-13Add option to pick Linux/BSD backendsKirill Chibisov
This commit adds two cargo features `x11` and `wayland` to pick Linux/BSD backends, with both enabled by default. Fixes #3340.
2020-03-12Fix crash when selecting last columnChristian Duerr
This resolves a bug where the selection start would be set to the number of columns, causing an out of bounds when trying to index with it. Instead of extending the selection beyond the grid when the right side of the last column is the start of the selection, the selection will now start in the beginning of the next line. Fixes #3446.
2020-03-07Fix selection with invisible start and endChristian Duerr
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.
2020-03-04Remove `ref_test` option from configuration fileChristian Duerr
This removes the `debug.ref_test` option from the configuration file, after this change was originally requested from kchibisov in https://github.com/alacritty/alacritty/pull/3396. While this option is valueable for the CLI, it provides no value in the configuration file.
2020-03-02Remove HollowBlock/Hidden config cursor stylesRĂ©mi Garde
Fixes #3367.
2020-03-01Remove `tabspaces` config optionChristian Duerr
This completely removes the tabspaces option from the Alacritty configuration, due to frequent misuse of it. Based on some research, none of the terminal emulators support setting the value for tabspaces or read the terminfo to determine init_tabs value at startup. The tested terminal emulators were URxvt, XTerm, and Termite.
2020-03-01Fix tabs across linewrapChristian Duerr
This resolves an issue with tabs not breaking across line boundaries, instead the characters would just all get written to the last column and thus be lost. It also tweaks the behavior of what happens when the terminal resizes with the default tabspaces changed, using something like the `tabs` program. Previously all tabstops would be reset to the default on resize, which is what URxvt does. Now the tabspaces are kept and the new columns are filled with the default tabstops, which emulates Termite.
2020-02-29Update terminfo dependencyKirill Chibisov
2020-02-28Fix log target of color config errorsKirill Chibisov
Due to incorrect log target in the color config errors, the message bar was not cleared when the error was fixed.
2020-02-27Remove docs for 0xRRGGBB color notationChristian Duerr
2020-02-23Fix config reload updating incorrect gridChristian Duerr
2020-02-22Fix block selection including last columnChristian Duerr
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.
2020-02-17Extract winpty crateChristian Duerr
The winpty crate and its winpty-sys depedency have been moved to https://github.com/alacritty/winpty.
2020-02-15Fix parser stopping at unknown modesChristian Duerr
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.
2020-02-12Fix incorrect display offset after rotationKirill Chibisov
Regression was introduced in 4cc6421daa4ff5976ab43c67110a7a80a36541e5, however it was working before only due to grid.len() bug.
2020-02-11Bump vte and urlocatorChristian Duerr
Fixes #3247.
2020-02-10Revert "Fix backspace deleting chars when IME is open"Christian Duerr
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.
2020-02-07Fix selection expansion across full-width glyphsChristian Duerr
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.
2020-01-31Mirror OSC query terminatorChristian Duerr
Fixes #3091.
2020-01-28Fix inconsistent test module namingChristian Duerr
2020-01-26Fix incorrect grid.len() and grid.history_size()Kirill Chibisov
2020-01-24Fix selection rotating outside of scrolling regionChristian Duerr
Fixes #2983.
2020-01-24Fix build error on OpenBSDeau
2020-01-21Fix oob error during selectionKirill Chibisov
Fixes #3233.
2020-01-21Fix first cell when selection is off screenChristian Duerr
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.
2020-01-20Disable drawing bold text bright by defaultKirill Chibisov
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.
2020-01-20Remove scrolling.auto_scroll featureKirill Chibisov
Fixes: #1873
2020-01-15Expand line selection across wrapped linesChristian Duerr
2020-01-15Remove Windows working directory canonicalizationDavid Hewitt
Fixes #3198.
2020-01-12Bump VTE to 0.5.0Christian Duerr
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.
2020-01-12Fix crash with invalid working directoryChristian Duerr
2020-01-11Move Alacritty to organizationChristian Duerr
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.
2020-01-10Bump glutin to 0.22.0Christian Duerr
Fixes #3165.
2020-01-09Fix cut off full width glyphs in last columnChristian Duerr
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.
2020-01-05Bump version to 0.4.2-devKirill Chibisov
2020-01-04Update outdated reftestsKirill Chibisov
2020-01-02Clean up Windows PTY string handlingDavid Hewitt
Removes widestring and dunce dependencies, reduces some code duplication and corrects a few typos.
2019-12-31Remove C1 escape supportChristian Duerr
Fixes #2981.
2019-12-30Move live-shader-reload feature to alacrittyKirill Chibisov
2019-12-29Remove outdated information from READMEKirill Chibisov
2019-12-24Fix screen reset not clearing cell flagsChristian Duerr
2019-12-22Fix crash on clear when scrolled up in historyKirill Chibisov
Fixes #3112.
2019-12-22Remove unneeded NamedPipe::connect() callsDavid Hewitt
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.
2019-12-21Default to ConPTY instead of WinPTYDavid Hewitt
2019-12-21Fix Windows CI build failureChristian Duerr
2019-12-15Add conpty dynamic loading restrictions docssterlingjensen
2019-12-14Send PTY resize messages through event loopDavid Hewitt
This allows us to clean up the Arcs on windows, as well as tidy up the code on unix a little too. Fixes #3086.