1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-03 04:34:21 -05:00
alacritty/scripts
Joe Wilm b79574ee82 Fix solid background color opacity (#847)
Since landing the patch adding transparency support to Alacritty,
there's been an issue where othewise solid background cells were also
being rendered partially transparent. Now, all filled background cells
are rendered fully opaque.

Some logic was added to support discarding filled backgrounds which had
the same color as the default background. This means that, if the
default background is #000 and a cell has that background, it will never
be rendered opaque. This may not be correct.

Note that many truecolor vim color schemes print spaces for default
colored background cells. Performance can be dramatically improved by
using ctermbg=NONE guibg=NONE to skip rendering those cells.
2017-10-21 15:26:42 -07: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 Fix solid background color opacity (#847) 2017-10-21 15:26:42 -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.