summaryrefslogtreecommitdiff
path: root/alacritty_terminal
AgeCommit message (Collapse)Author
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.
2019-12-13Fix storage rotation errorChristian Duerr
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.
2019-12-12Fix crash when resizing AlacrittyChristian Duerr
Fixes #3088.
2019-12-12Fix deadlock when closing on Windows using ConptyDavid Hewitt
Fixes #3042.
2019-12-10Fix colored row reset performanceChristian Duerr
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.
2019-12-05Remove unnecessary lifetimes from winptysterlingjensen
2019-11-28Fix `OSC 52` with empty clipboard paramChristian Duerr
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.
2019-11-23Fix modifiers not getting released with XWaylandChristian Duerr
This resolves a winit bug where modifiers would stay pressed when they were released outside of Alacritty when it was started in XWayland mode.
2019-11-23Move renderer from alacritty_terminal to alacrittyKirill Chibisov
2019-11-19Bump master to 0.4.1-devChristian Duerr
To make the release process a bit smoother and prevent a freeze of the master process while review candidates are out, this will put the master in a perpetual development state. This should make it clear to everyone that the official source for releases is always the tagged branch and make it possible to release new versions completely independently. Since versions are bumped after each release, this makes it so the release branches do not have to get merged back into the master branch to show the correct development version.
2019-11-19Remove tests failing in release modeChristian Duerr
2019-11-18Fix deletion of lines when clearing the screenNathan Lilienthal
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.
2019-11-17Fix ESC escapes not ignoring invalid intermediatesKirill Chibisov
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.
2019-11-17Fix cell reset not clearing flags and foregroundKirill Chibisov
Fixes #2330.
2019-11-16Fix WinPTY freeze on terminationMaciej Makowski
Fixes #2889.
2019-11-15Add reftest for line deletionChristian Duerr
2019-11-15Fix `CSI Ps M` deleting lines above cursorChristian Duerr
Fixes #2984.
2019-11-14Fix division by zero without any cols or linesBurak Yigit Kaya
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.
2019-11-12Fix mouse modes not being mutually exclusiveKirill Chibisov
2019-11-11Add escape for reading clipboardChristian Duerr
2019-11-10Add ref test for verifying colored clear behaviorChristian Duerr
This covers the behavior of clearing the screen and a row with colored cells. This covers a bug discovered in #2329 which was not detected in any existing ref tests.
2019-11-04Add UTF-8 mouse mode supportKirill Chibisov
Fixes #1934.
2019-11-04Fix incorrect cell foreground when clearing screenChristian Duerr
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.
2019-11-03Fix URL highlightingChristian Duerr
Fixes #2898. Fixes #2479.
2019-11-02Fix clippy warningsChristian Duerr
2019-10-26Fix visual bell rendering modeKirill Chibisov
Fixes #2911.
2019-10-23Update dependenciesKirill Chibisov
2019-10-20Fix XEmbed compilation error on 32-bit platformscyclopsian
2019-10-17Fix window title not filled by defaultDustin
In the config, if `window` is undefined, the derived `Default` for the String `title` is used, which is an empty String. This was unintended, and causes issues in gnome-shell (e.g. in the alt-tab dialog) when the window title is an empty string. This commit adds a manually implemented default for the `WindowConfig`, it's the same as the derived `Default`, except for the `title`, which will now always be "Alacritty" as originally intended.
2019-10-15Print launch command name on failureChristian Duerr
2019-10-15Add support for alternate scroll escapeAleksey Kuznetsov
Fixes #2727.
2019-10-14Add support for title stack escape sequencesDustin
This commit adds the concept of a "title stack" to the terminal. Some programs (e.g. vim) send control sequences `CSI 22 ; 0` (push title) and `CSI 23 ; 0` (pop title). The title stack is just a history of previous titles. Applications can push the current title onto the stack, and pop it back off (setting the window title in the process). Fixes #2840.
2019-10-09Add --hold CLI flagValentin Ignatev
This implements --hold flag which keeps Alacritty open after its child process exits. Fixes #1165.
2019-10-06Remove automatic config generationKirill Chibisov
Fixes #2818.
2019-10-05Update to winit/glutin EventLoop 2.0Christian Duerr
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.