this repo has no description
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Clear screen on quit

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>

+1 -2
+1 -2
shlide
··· 24 24 local IFS= 25 25 while read -r line; do 26 26 l=$(ansi_filter $(colorify "$line")) 27 - echo "$l" >> log.txt 28 27 if [ "${#l}" -gt "$max" ]; then max="${#l}"; fi 29 28 done < "$1" 30 29 printf '%s\n' "$max" ··· 94 93 } 95 94 96 95 die() { 96 + printf '\e[2J' 97 97 printf '\e[?25h' 98 98 exit 0 99 99 } ··· 125 125 read -rsn1 input 126 126 case "$input" in 127 127 "j"|"n"|"q") 128 - printf '\e[2J' 129 128 die 130 129 ;; 131 130 *)