mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-06 15:10:00 +00:00
docs: update
This commit is contained in:
3
neofetch
3
neofetch
@@ -3943,6 +3943,9 @@ get_window_size() {
|
|||||||
# user input so we have to use read to store the out
|
# user input so we have to use read to store the out
|
||||||
# -put as a variable.
|
# -put as a variable.
|
||||||
# The 1 second timeout is required for older bash
|
# The 1 second timeout is required for older bash
|
||||||
|
#
|
||||||
|
# False positive.
|
||||||
|
# shellcheck disable=2141
|
||||||
case ${BASH_VERSINFO[0]} in
|
case ${BASH_VERSINFO[0]} in
|
||||||
4|5) IFS=';t' read -d t -t 0.05 -sra term_size ;;
|
4|5) IFS=';t' read -d t -t 0.05 -sra term_size ;;
|
||||||
*) IFS=';t' read -d t -t 1 -sra term_size ;;
|
*) IFS=';t' read -d t -t 1 -sra term_size ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user