docs: update
This commit is contained in:
parent
32743859da
commit
8d1b579b39
9
pfetch
9
pfetch
|
@ -1328,9 +1328,7 @@ main() {
|
||||||
c7='[37m'; c8='[38m'
|
c7='[37m'; c8='[38m'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Avoid text-wrapping from wrecking the program output
|
# Avoid text-wrapping from wrecking the program output.
|
||||||
# and hide the cursor to hide its moving around during
|
|
||||||
# the printing process.
|
|
||||||
#
|
#
|
||||||
# Some terminals don't support these sequences, nor do they
|
# Some terminals don't support these sequences, nor do they
|
||||||
# silently conceal them if they're printed resulting in
|
# silently conceal them if they're printed resulting in
|
||||||
|
@ -1338,11 +1336,10 @@ main() {
|
||||||
[ "$TERM" = dumb ] ||
|
[ "$TERM" = dumb ] ||
|
||||||
[ "$TERM" = minix ] ||
|
[ "$TERM" = minix ] ||
|
||||||
[ "$TERM" = cons25 ] || {
|
[ "$TERM" = cons25 ] || {
|
||||||
# '[?7l': Disable line-wrapping.
|
# Disable line-wrapping.
|
||||||
printf '[?7l' >&6
|
printf '[?7l' >&6
|
||||||
|
|
||||||
# Leave the terminal how we found it on exit or Ctrl+C.
|
# Enable line-wrapping again on exit.
|
||||||
# '[?7h': Enable line-wrapping.
|
|
||||||
trap 'printf [?7h >&6' EXIT
|
trap 'printf [?7h >&6' EXIT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user