summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-24Add Xembed supportmkosem
Fixes #631.
2019-09-21Remove outdated TODO/FIXME commentsChristian Duerr
2019-09-19Initialize only visible charactersChristian Duerr
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).
2019-09-18Rework default bindingsKirill Chibisov
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.
2019-09-16Remove code for setting _NET_WM_PIDChristian Duerr
This code is no longer necessary since winit now does this for us.
2019-09-16Fix bindings incorrectly getting replacedChristian Duerr
Fixes #2794.
2019-09-13Fix empty block selection detectionChristian Duerr
Fixes #2789.
2019-09-10Replace uninitialized with MaybeUninitMatthias Krüger
2019-09-09Bump minimum Rust version to 1.36.0Christian Duerr
2019-09-09Reset the Mouse Cursor While SelectingNathan Lilienthal
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.
2019-09-06Update and dedupe parking_lot to 0.9Bastien Orivel
2019-09-03Fix Wayland selection clipboard not storing text when stopping outside of windowKirill Chibisov
2019-08-28Fix legacy xparsecolor regressionChristian Duerr
2019-08-28Fix url highlight not showing with required modifiersChristian Duerr
2019-08-28Fix legacy xparsecolor regressionChristian Duerr
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.
2019-08-26Fix url highlight not showing with required modifiersChristian Duerr
2019-08-25Fix style issues in zsh completionsChristian Duerr
2019-08-25Add bold italic font supportChristian Duerr
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.
2019-08-25Add bold italic font supportChris Morgan
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.
2019-08-25Follow zsh conventions in zsh completionOliver Kiddle
Declaring curcontext etc local is superfluous as _arguments states are not used. It is also superfluous to include an outer function definition syntax in zsh autoloadable functions. Zsh convention is not to capitalize descriptions. It is also better to use the imperative mood verb form for descriptions as this allows them to start with the shortest form of the verb - e.g. "reduce" instead of "reduces" and results in better grammar in the absence of a sentence subject. I'd recommend this in the --help output too. Using _guard for the position and dimensions was unnecessary given that the values are not mixed with other matches.
2019-08-24Show text cursor when pressing shift in mouse modeJohn Sullivan
Fixes #2550.
2019-08-19Follow xparsecolor spec in escape sequencesrbong
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.
2019-08-18Update depedenciesBastien Orivel
2019-08-16Fix clippy issuesChristian Duerr
2019-08-16Fix smithay-clipboard integrationKirill Chibisov
Fixes: #2574
2019-08-08Format codeChristian Duerr
2019-08-06Ignore unsupported CSI sequencesKoichi Murase
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.
2019-08-06Fix multiple underlines/strikeouts on the same lineKirill Chibisov
This commit fixes regression introduced in ddee14a.
2019-08-04Remove errno depedencyChristian Duerr
2019-08-04Fix lines in last line not rendered when scrolled upChristian Duerr
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.
2019-08-04Fix crash when hovering over message barKirill Chibisov
This commit fixes a regression introduced in 9dddf64. Fixes #2699.
2019-08-03Move modifier check before URL searchChristian Duerr
This makes sure that the URL search is only initiated when all required modifiers are held down. This should improve performance with long URLs.
2019-08-01Switch to rfind_url for URL detectionChristian Duerr
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.
2019-08-01Remove color from log outputChristian Duerr
Fixes #2474.
2019-08-01Organize Readme OS listAlex Touchet
2019-07-30Bump minimum supported Rust version to 1.34.0Christian Duerr
2019-07-28Fix cursor flickering on url hoverKirill Chibisov
This commit fixes the regression introduced in 84aca67 and also fixes url highlight bounds computation when url ends on a last column. Fixes #2665.
2019-07-28Update gl_generator to 0.13Wild Kat
2019-07-26Fix double-click selecting trailing tabBen Firth
Fixes #2639.
2019-07-24Fix copypasta README.md formattingKirill Chibisov
2019-07-23Respect fontconfig's embeddedbitmap settingRoman Holovin
Fixes #2655.
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-14Query DirectWrite for the rendering mode to useAlex
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-08Add class and short title completionsKirill Chibisov
Fixes #2612.