mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
repaint_terminals: don't check all tty as 4 is enough
This commit is contained in:
parent
c92478c272
commit
3363f2ff0f
|
|
@ -61,6 +61,6 @@ ansi_sequences+="\\033]11;$(_get_hex_value background)\\007"
|
|||
ansi_sequences+="\\033]17;$(_get_hex_value foreground)\\007"
|
||||
|
||||
# Apply ANSI sequences to running terminals.
|
||||
for term in /dev/pts/[0-9]*; do
|
||||
for term in /dev/pts/[0-4]*; do
|
||||
printf "%b" "$ansi_sequences" > "$term" &
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue