Unverified Commit 5037d312 authored by Tony's avatar Tony Committed by GitHub

Fix cannot correctly get window size

A bug caused by not correctly unset IFS to read array
parent 22df76c3
......@@ -3557,6 +3557,7 @@ get_window_size() {
# user input so we have to use read to store the out
# -put as a variable.
IFS=';t' read -d t -t 0.05 -sra term_size
unset IFS
# Split the string into height/width.
if [[ "$image_backend" == "tycat" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment