aboutsummaryrefslogtreecommitdiff
path: root/src/term/cell.rs
AgeCommit message (Collapse)Author
2018-03-04Remove all instances of unwrap() from configChristian Duerr
Unwrapping inside the config file parsing can lead to some issues that prevent us from falling back to a default configuration file. One instance of that issue was mentioned in #1135. Now all instances of `unwrap()` have been removed and replaced with proper error handling. This will make the config more robust and prevents live reload from silently breaking while alacritty is running. This also fixes a few currently existing clippy issues. Clippy added an additonal lint which complains about `MyStruct { field: field }`. These issues have been fixed, except for some false-positives and issues in external macros which will probably be fixed with future updates (rust-lang-nursery/bitflags#149)
2018-01-06Add clippy check to travisChristian Duerr
This commit adds clippy as a required step of the build process. To make this possible, all existing clippy issues have been resolved.
2017-12-23Update bitflags to v1Chet Gurevitch
2017-09-05Update most remaining depsJonathan Schleußer
2017-06-23Add dim color supportJake Merdich
Add support for the VTE 'dim' flag, with additional support for custom-themed dim colors. If no color is specified in the config, it will default to 2/3 the previous (not a spec, but the value other terminals seem to use). The actual dimming behavior brings bright colors to normal and regular colors to the new dim ones. Custom RGB values are not changed, nor are non-named indexed colors.
2017-06-18Fix bright inverse colors (#621)DarkDefender
Fixes #611.
2017-06-11Add support for Beam, Underline cursorsJoe Wilm
Notable about this implementation is it takes a different approach for managing cursor cells that previously. The terminal Grid is now borrowed *immutably*. Instead of mutating Cells in the Grid, a list is managed within the RenderableCellsIter. The cell at the cursor location is skipped over, and instead cells are popped off a list of cursor cells. It would be good in the future to share some more code between the different cursor style implementations for populating the cursor cells list. Supercedes #349.
2017-03-02Add support for wide charactersJoe Wilm
2017-02-06Render underline on empty cellsTuomas Siipola
This fixes rendering underlines spanning multiple words.
2017-02-03Alacritty now compiles on stable Rust :tada:Joe Wilm
2017-01-29support for inverting the cursor or using colorsDanny Dulai
2017-01-06Clippy fixes!Manish Goregaokar
2016-12-29Improve RenderableCellsIter performanceJoe Wilm
Also adds a benchmark for cell.reset().
2016-12-29Add Default impl for CellJoe Wilm
Just a bit of cleanup.
2016-12-29Fix selection copy for long linesJoe Wilm
Long lines were previously broken at the terminal width. Now, a wrapping marker is kept on the final cell so that extra newlines are not inserted.
2016-12-26Implement copying selection for macOSJoe Wilm
Still need automatic loading into selection copy buffer for linux.
2016-12-11Add support for indexed colorsJoe Wilm
ANSI escape sequences like `\x1b[48;5;10m` were not supported until now. Specifically, the second attribute, 5, says that the following attribute is a color index. The ref tests were updated since `enum Color` variants changed.
2016-12-11Move term::cell module to its own fileJoe Wilm
The cell module was previously implemented within term.rs. Now each module has its own file.