commit 49ecaa5bb54baa5dc133f8854743986f55a99bd1
parent 6974f7f00ad0c4fa82bf1b4e3ca6d6b39c4b0df4
Author: Cem Keylan <cem@ckyln.com>
Date: Fri, 17 Apr 2020 00:58:34 +0300
yaic: Keep NOTEXT effect between channel switches
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/yaic b/yaic
@@ -216,7 +216,7 @@ main() {
# Restore stty to what they were before. We do want this
# to expand now, so the shellcheck error can be ignored.
trap 'stty $prestty; printf "\033[m" ; kill -TERM 0' EXIT INT QUIT
- stty -echonl
+ stty -echonl ${NOTEXT:+-}echo
printf '\033[m'
while read -r msg; do