mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
f32facfbfd
This includes some changes to the scripts `README.md` to provide some more information on the different Alacritty scripts. A new script for testing the 24 bit support of Alacritty has been added with the `24-bit-color.sh` name. This should help with troubleshooting truecolor support issues. Since `perf` is a standard tool which is available in the official repositories for most distributions, it doesn't make much sense to provide an installation script specifically for Ubuntu. As a result of this, the script has been removed.
26 lines
618 B
Markdown
26 lines
618 B
Markdown
Scripts
|
|
=======
|
|
|
|
## Flamegraph
|
|
|
|
Run the release version of Alacritty while recording call stacks. After the
|
|
Alacritty process exits, a flamegraph will be generated and it's URI printed
|
|
as the only output to STDOUT.
|
|
|
|
```sh
|
|
./create-flamegraph.sh
|
|
```
|
|
|
|
Running this script depends on an installation of `perf`.
|
|
|
|
## ANSI Color Tests
|
|
|
|
We include a few scripts for testing the color of text inside a terminal. The
|
|
first shows various foreground and background varients. The second enumerates
|
|
all the colors of a standard terminal. The third enumerates the 24-bit colors.
|
|
|
|
```sh
|
|
./fg-bg.sh
|
|
./colors.sh
|
|
./24-bit-colors.sh
|
|
```
|