summaryrefslogtreecommitdiff
path: root/alacritty_terminal
AgeCommit message (Collapse)Author
2019-07-28Update gl_generator to 0.13Wild Kat
2019-07-26Fix double-click selecting trailing tabBen Firth
Fixes #2639.
2019-07-22Fix NetBSD build failureChristian Duerr
Fixes #2631.
2019-07-16Remove redundant use statement on macOSMihyaeru
2019-07-15Override default bindings with subset mode matchChristian Duerr
Fixes #2641.
2019-07-10Fix cursor color setting with escape sequenceKirill Chibisov
The cursor rework introduced a regression where cursor color was always picked from a config file, rather then using `ansi::NamedColor::Cursor` for this purpose. This commit also removes `CursorText` option from `NamedColor` enum, since we can't speculate with `CursorText` during runtime. Cursor rework commits: cfc20d4f34dca535654cc32df18e785296af4cc5 371d13f8ef95157c97f7de9964bcbc89d4a8e930 0d060d5d801e3abb55035269138d819d38fc175b
2019-07-10Fix row occ not set during new and resetChristian Duerr
Since ref tests were only stored whenever winit requested the window close, they would not get stored properly when the terminal was closed through Alacritty using `exit`, Ctrl+D or similar. This moves the ref test code to the and of the main entry point, which will always be executed regardless of how the terminal was shutdown. Fixes #2613.
2019-07-10Fix mouse move handlingKirill Chibisov
This commit fixes the regression introduced in 84aca672964e29b5b4503b7da7bc34fc395f08ab. Fixes #2635.
2019-07-08Change mouse cursor when hovering over the message barElaina Martineau
2019-07-07Fix saving of ref testsChristian Duerr
Since ref tests were only stored whenever winit requested the window close, they would not get stored properly when the terminal was closed through Alacritty using `exit`, Ctrl+D or similar. This moves the ref test code to the and of the main entry point, which will always be executed regardless of how the terminal was shutdown.
2019-07-07Fix doc box drawing symbolsKirill Chibisov
2019-07-06Allow setting gtk variant and general class on X11Brian Koropoff
2019-06-28Fix rows only resetting partiallyChristian Duerr
This resolves an issue with rows only resetting partially, based on their `occ` state. However this state is not always accurate, so more than just the occupied elements need to be cleared. Fixes #2340.
2019-06-25Perform clear and buffer swap before showing windowKirill Chibisov
This should fill window with background color while it is offscreen instead of showing it with uninitilized surface and then performing `clear`. So, the new behavior should prevent glitches during startup. e.g. content of the windows below, garbage from drivers and so on.
2019-06-25Fix first unfullscreen on fullscreen mode launched windowChristian Duerr
2019-06-23Fix performance issues with text reflowChristian Duerr
Fixes #2567. Fixes #2414.
2019-06-21Fix inconsitent cursor position when scrollingKirill Chibisov
This commit fixes regression introduced in cfc20d4f34dca535654cc32df18e785296af4cc5. `self.cursor.line` forced the cursor to hold a fixed location while scrolling until its "original" location (usually the shell prompt) went off the screen. So cursor position should be keep updated, which can be achieved by using `self.inner.line()`. Fixes #2570.
2019-06-20Add block selectionChristian Duerr
This implements a block selection mode which can be triggered by holding Control before starting a selection. If text is copied using this block selection, newlines will be automatically added to the end of the lines. This fixes #526.
2019-06-18Fix redundant static lifetime clippy lintMatthias Krüger
2019-06-16Unset DESKTOP_STARTUP_ID environment variableChristian Duerr
This unsets the DESKTOP_STARTUP_ID environment variable at startup, to prevent child processes from inheriting it. This solves problems with child windows not properly spawning in the foreground with KDE. More information can be found here: https://specifications.freedesktop.org/startup-notification-spec/startup-notification-latest.txt
2019-06-16Bump version to 0.3.3v0.3.3Christian Duerr
2019-06-15Bump version to 0.3.3-rc2v0.3.3-rc2Christian Duerr
2019-06-15Bump smithay-clipboard dependency versionChristian Duerr
2019-06-15Fix dynamic color escape responseChristian Duerr
The dynamic color escape response would answer to requests with rgb:0/0/0 when the color was completely black, instead of properly responding with double-digit hex colors. This has been changed so that Alacritty now always properly responds with the same number of hex digits for all colors. The number of digits has also been changed from two to four digits per color, since that is the more commonly used format. Using the `write!` macro was also causing problems with NeoVim, since it caused Alacritty to write the dynamic color escape in multiple write calls, switching to `write_all` fixed that. Fixes #2543.
2019-06-09Bump version to 0.3.3-rc1v0.3.3-rc1Christian Duerr
2019-06-09Fix dynamic multi-color escape codesKevin Zheng
2019-06-09Fix compiler warningsMatthias Krüger
2019-06-09Add wayland primary selection clipboard supportChristian Duerr
2019-06-06Fix index out of bounds during selectionChristian Duerr
This reworks the selection logic to prevent any possible index out of bounds exceptions by clamping the start and end points before doing anything else with them when converting selections to spans. This also fixes a bug where semantic selections would not automatically expand across double-width characters. Fixes #2486.
2019-06-06Re-invert cursor when in selectionElaina Martineau
2019-06-02Add foreground/background request escape codesrbong
2019-05-19Allow URLs to end with trailing slashJacob Evan Shreve
2019-05-16Fix URL detection matching invalid URLsChristian Duerr
Fixes #2450.
2019-05-13Fix message bar not updating PTY size on hideKirill Chibisov
2019-05-11Add support for double-click bracket-pair selectionJean Mertz
2019-05-11Fix cursor only showing up over left half of wide charactersElaina Martineau
2019-05-10Refactor config parsing filesChristian Duerr
This is a large refactor of the config parsing structure, attempting to reduce the size of the file a bit by splitting it up into different modules with more specific purposes. This also fixes #2279.
2019-05-03Add git hash to version string, and fix crate name (#2397)Nathan Lilienthal
This moves `cli` out of `alacritty_terminal` and into `alacritty` where it belongs, along with the `clap` dependency.
2019-04-30Remove clipboard loading error loggingChristian Duerr
On macOS the clipboard actually returns an error when loading it and it is empty. However this is not an `Empty` error but all errors are simple boxed Errors from std. Since loading the clipboard data usually should not fail, we now do not log it as error if it fails but just print it to the debug log instead. This fixes #2389.
2019-04-29Fix selection of double-width charactersChristian Duerr
This changes the selection behavior to automatically select both cells of double width characters in either selection direction. This fixes #2322.
2019-04-28Fix mouse mode generate events without cell changeChristian Duerr
2019-04-28Fix spelling mistakesJDTX
2019-04-28Switch from copypasta to rust-clipboardChristian Duerr
This switches our own `copypasta` crate with the more standardized `clipboard` library, which allows us to get rid of the `xclip` dependency on X11. Additionally, this lays the foundation for native Wayland clipboard support once the clipboard crate is updated (or a fork is created). Fixes #5.
2019-04-28Set _NET_WM_ICON on X11Kirill Chibisov
2019-04-28Fix double-width characters in URLs only highlighting halfwayElaina Martineau
2019-04-28Split alacritty into a separate cratesTheodore Dubois
The crate containing the entry point is called alacritty, and the crate containing everything else is called alacritty_terminal.