Skip to content

Commit

Permalink
Removing += #32
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmysun committed Aug 26, 2024
1 parent 22fafca commit 84b430e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/paginator/90_pre_output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ if [ "x${TO_TTY}" = "xtrue" ]; then
# logging_debug "Consuming escape sequence";
esc_seq="${char}";
read -r -N 1 char;
esc_seq+="${char}";
esc_seq="${esc_seq}${char}";
if echo "x${char}" | grep -q -E '^x(\[|\()$'; then
while true; do
read -r -N 1 char;
esc_seq+="${char}";
esc_seq="${esc_seq}${char}";
echo "${char}" | grep -q -E '[a-zA-Z]' && break;
done
fi
Expand Down

0 comments on commit 84b430e

Please sign in to comment.