mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-27 01:40:16 -05:00
install: add --attr-{bold,italic,underline} to generate-alt-random-writes
This commit is contained in:
parent
e60fd1e113
commit
f75ff86fc0
1 changed files with 4 additions and 1 deletions
|
|
@ -210,6 +210,9 @@ tmp_file=$(mktemp)
|
||||||
--colors-bright \
|
--colors-bright \
|
||||||
--colors-256 \
|
--colors-256 \
|
||||||
--colors-rgb \
|
--colors-rgb \
|
||||||
|
--attr-bold \
|
||||||
|
--attr-italic \
|
||||||
|
--attr-underline \
|
||||||
${tmp_file}
|
${tmp_file}
|
||||||
./pgo ${tmp_file} ${tmp_file} ${tmp_file} ${tmp_file} ${tmp_file} ${tmp_file}
|
./pgo ${tmp_file} ${tmp_file} ${tmp_file} ${tmp_file} ${tmp_file} ${tmp_file}
|
||||||
rm ${tmp_file}
|
rm ${tmp_file}
|
||||||
|
|
@ -234,7 +237,7 @@ We will use the script `scripts/generate-alt-random-writes.py`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
foot_tmp_file=$(mktemp)
|
foot_tmp_file=$(mktemp)
|
||||||
./foot --config=/dev/null --term=xterm sh -c "<path-to-generate-alt-random-writes.py> --scroll --scroll-region --colors-regular --colors-bright --colors-256 --colors-rgb ${foot_tmp_file} && cat ${foot_tmp_file}"
|
./foot --config=/dev/null --term=xterm sh -c "<path-to-generate-alt-random-writes.py> --scroll --scroll-region --colors-regular --colors-bright --colors-256 --colors-rgb --attr-bold --attr-italic --attr-underline ${foot_tmp_file} && cat ${foot_tmp_file}"
|
||||||
rm ${foot_tmp_file}
|
rm ${foot_tmp_file}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue