From 5b0d04bf2be32e85e68fc1339000a0ea5a15543c Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 27 May 2023 17:17:41 +0200 Subject: Added tgas pages --- content/notes/show-xterm-colors.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content/notes/show-xterm-colors.md') diff --git a/content/notes/show-xterm-colors.md b/content/notes/show-xterm-colors.md index a8802fd..88e9856 100644 --- a/content/notes/show-xterm-colors.md +++ b/content/notes/show-xterm-colors.md @@ -4,7 +4,7 @@ url: write-iso-usb.html date: 2023-05-25T12:00:00+02:00 type: notes draft: false -tags: [linux, xterm, palette] +tags: [linux] --- - `bash xterm-palette.sh` - will show you number of max colors available @@ -27,7 +27,7 @@ function setbg () { } function showcolors() { - # Given an integer, display that many colors + # Given an integer, display that many colors for ((i=0; i<$1; i++)) do printf '%4d ' $i @@ -44,10 +44,10 @@ printf '\e]4;%d;?\a' 0 read -d $'\a' -s -t 0.1