aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src
Commit message (Collapse)AuthorAge
...
* Fix URL highlightingChristian Duerr2019-11-03
| | | | Fixes #2898. Fixes #2479.
* Fix clippy warningsChristian Duerr2019-11-02
|
* Fix visual bell rendering modeKirill Chibisov2019-10-26
| | | Fixes #2911.
* Update dependenciesKirill Chibisov2019-10-23
|
* Fix XEmbed compilation error on 32-bit platformscyclopsian2019-10-20
|
* Fix window title not filled by defaultDustin2019-10-17
| | | | | | | | | | | 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.
* Print launch command name on failureChristian Duerr2019-10-15
|
* Add support for alternate scroll escapeAleksey Kuznetsov2019-10-15
| | | | Fixes #2727.
* Add support for title stack escape sequencesDustin2019-10-14
| | | | | | | | | | | | 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.
* Add --hold CLI flagValentin Ignatev2019-10-09
| | | | | | This implements --hold flag which keeps Alacritty open after its child process exits. Fixes #1165.
* Remove automatic config generationKirill Chibisov2019-10-06
| | | | Fixes #2818.
* Update to winit/glutin EventLoop 2.0Christian Duerr2019-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add live config reload for font sizewayne2019-10-02
|
* Concatenate parameters of title OSCPaolo Capriotti2019-09-28
| | | | | | | | | | A semicolon in a title OSC should be interpreted literally, not as a parameter separator, but the OSC parser is very simple and does not know about arities of commands. Therefore, this patch takes all the parameters returned by the OSC parser and reconstructs the original string by interspersing semicolons. Now an OSC like '\e]2;hello;world' will set the title to 'hello;world' and not 'hello' like before.
* Add `ReceiveChar` action for passing key's textzsugabubus2019-09-28
|
* Fix selection not inverting terminal backgroundChristian Duerr2019-09-26
| | | | | Fixes a regression introduced in 9a0555bbba30c264f617ec9260ca00e0eab70870 where the terminal background would not get inverted when selected.
* Fix cell opacity when color matches terminal bgKirill Chibisov2019-09-26
| | | | | | | | | Commit e964af8 introduced a regression, where if cell's bg color was equal to NamedColor::Background rgb color it was rendered with transparent background. However the correct behavior is to render bg transparent only when bg color is actually a NamedColor::Background. Fixes #2814.
* Fix overflow on wrong scroll region settingKirill Chibisov2019-09-26
| | | | Fixes #2822.
* Add Xembed supportmkosem2019-09-24
| | | | Fixes #631.
* Remove outdated TODO/FIXME commentsChristian Duerr2019-09-21
|
* Initialize only visible charactersChristian Duerr2019-09-19
| | | | | This fixes an off-by-two error in the renderer which initializes characters 32 until 128 (inclusive) for each font whenever it is loaded. The ascii visible range however just goes from 32 until 126 (inclusive).
* Rework default bindingsKirill Chibisov2019-09-18
| | | | | | | | | This commit removes all bindings which are sending escapes from the default configuration file, adds bindings for F13-F24, adds bindings for ScrollToTop/ScrollToBottom actions, removes bindings for Super + F1-F12, fixes bindings for Alt + F1-F12. Fixes #2688.
* Remove code for setting _NET_WM_PIDChristian Duerr2019-09-16
| | | | This code is no longer necessary since winit now does this for us.
* Fix bindings incorrectly getting replacedChristian Duerr2019-09-16
| | | Fixes #2794.
* Fix empty block selection detectionChristian Duerr2019-09-13
| | | | Fixes #2789.
* Replace uninitialized with MaybeUninitMatthias Krüger2019-09-10
|
* Reset the Mouse Cursor While SelectingNathan Lilienthal2019-09-09
| | | | | | | This change disabled the mouse cursor and URL highlight (underline) while a selection is in progress. A click to clear the selection doesn't trigger a URL action, but will re-enable the URL highlighting to indicate the next click will trigger the launcher.
* Fix legacy xparsecolor regressionChristian Duerr2019-08-28
| | | | | | | | | The legacy xparsecolor implementation assumed that the \007 ending would be passed to the parser, however it never is. This caused colors in the format #rrggbb to be interpreted as #rrggb, leading to incorrect colors showing up in Alacritty. Fixes #2759.
* Fix url highlight not showing with required modifiersChristian Duerr2019-08-26
|
* Add bold italic font supportChris Morgan2019-08-25
| | | | | | | | | | If the terminal escape sequences for bold and italic text are active, the text should be rendered as bold and italic. However, due to missing support in Alacritty, it would always render this text in bold. This adds support for combining the bold and italic escapes to render text in both styles and allows users to override the font for this scenario using the `font.bold_italic` configuration option.
* Show text cursor when pressing shift in mouse modeJohn Sullivan2019-08-24
| | | Fixes #2550.
* Follow xparsecolor spec in escape sequencesrbong2019-08-19
| | | | | | | | | | | Escape sequences in xterm are parsed according to xparsecolor. xparsecolor supports 1, 2, 3, and 4 digit hex colors. Previously, only 2 digits were supported. This also fixes a bug where "fX" was parsed as "0xf", where X is an invalid character. The response to a request for fg/bg must be a valid escape sequence. The current response uses 4-digit hex, which was previously invalid.
* Fix clippy issuesChristian Duerr2019-08-16
|
* Fix smithay-clipboard integrationKirill Chibisov2019-08-16
| | | | Fixes: #2574
* Format codeChristian Duerr2019-08-08
|
* Ignore unsupported CSI sequencesKoichi Murase2019-08-06
| | | | | | | | Instead of ignoring unexpected intermediates in CSI escape sequences, the intermediates are now explicitly checked and the escape sequence is rejected when an unexpected intermediate is found. Fixes #2171.
* Fix multiple underlines/strikeouts on the same lineKirill Chibisov2019-08-06
| | | This commit fixes regression introduced in ddee14a.
* Remove errno depedencyChristian Duerr2019-08-04
|
* Fix lines in last line not rendered when scrolled upChristian Duerr2019-08-04
| | | | | | | | | | | | | Instead of creating the rectangles for lines after the line is completed, the rectangle is now initialized as soon as it is started. Then when following cells also contain the same line type, the rectangle is updated. This resolves the problem of having to finish the last line when it ends in the last non-empty column in the last line, since the render iterator only returns non-empty cells and we never get the information that the underline has ended. Fixes #2680.
* Fix crash when hovering over message barKirill Chibisov2019-08-04
| | | | | This commit fixes a regression introduced in 9dddf64. Fixes #2699.
* Move modifier check before URL searchChristian Duerr2019-08-03
| | | | | This makes sure that the URL search is only initiated when all required modifiers are held down. This should improve performance with long URLs.
* Switch to rfind_url for URL detectionChristian Duerr2019-08-01
| | | | | | | | | | | | | | | This switches to rfind_url for detecting URLs inside the grid. Instead of expanding at the cursor position, the complete terminal is searched from the bottom until the visible region is left with no active URL. Instead of having the field `cur` publicly accessibly on the `DisplayIterator`, there are the two methods `DisplayIterator::point` and `DisplayIterator::cell` for accessing the current element of the iterator now. This allows accessing the current element right after creating the iterator. Fixes #2629. Fixes #2627.
* Remove color from log outputChristian Duerr2019-08-01
| | | Fixes #2474.
* Bump minimum supported Rust version to 1.34.0Christian Duerr2019-07-30
|
* Fix cursor flickering on url hoverKirill Chibisov2019-07-28
| | | | | | This commit fixes the regression introduced in 84aca67 and also fixes url highlight bounds computation when url ends on a last column. Fixes #2665.
* Fix double-click selecting trailing tabBen Firth2019-07-26
| | | | Fixes #2639.
* Fix NetBSD build failureChristian Duerr2019-07-22
| | | Fixes #2631.
* Remove redundant use statement on macOSMihyaeru2019-07-16
|
* Override default bindings with subset mode matchChristian Duerr2019-07-15
| | | | Fixes #2641.
* Fix cursor color setting with escape sequenceKirill Chibisov2019-07-10
| | | | | | | | | | | | | 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