1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00
alacritty/scripts
Christian Duerr d387ebe1d7
Add hidden escape sequence
This adds support for the `hidden` escape sequence `\e[8m`, which will
render the text as invisible.

This has also raised a few questions about the rendering of foreground
and background colors and their interaction with the different escape
sequences. Previously, Alacritty has oriented itself after URxvt, which
has some strange and unexpected behavior.

The new implementation of color inversion is modeled after XTerm, which
has a consistent pattern of always inverting the foreground and
background colors. This should hopefully lead to less confusion for the
user and a more consistent behavior.

A full matrix showcasing the new way Alacritty inverses text can be
found here:
https://i.imgur.com/d1XavG7.png

This fixes #1454 and fixes #1455.
2018-09-19 19:18:51 +00:00
..
apply-tilix-colorscheme.py Add script to apply a tilix colorscheme file. (#524) 2017-05-27 19:58:14 -07:00
create-flamegraph.sh Add script for creating flamegraph with perf 2016-10-08 21:30:21 -07:00
fg-bg.sh Add hidden escape sequence 2018-09-19 19:18:51 +00:00
migrate_ref_tests.rb Optimize Row::reset 2018-06-02 09:56:50 -07:00
README.md Add script for creating flamegraph with perf 2016-10-08 21:30:21 -07:00
spawn-alacritty-cwd Add script for spawning alacritty in CWD 2017-05-01 08:36:09 -07:00
ubuntu-install-perf.sh Add script for creating flamegraph with perf 2016-10-08 21:30:21 -07:00

scripts

There are two scripts included at the time this README was written, and they both support flamegraph generation on Ubuntu. The first script installs the required dependencies:

scripts/ubuntu-install-perf.sh

The second script will run Alacritty while recording call stacks. After the Alacritty process exits, a flamegraph will be generated and its URI printed.

scripts/create-flamegraph.sh

NOTE: The create-flamegraph.sh script is intended to be run from the alacritty project root.