Merge pull request #977 from MindTooth/fix_kitty_regression

kitty: fix regression in regex
This commit is contained in:
Dylan Araps 2018-05-09 23:56:28 +00:00 committed by GitHub
commit 8dc25c3ae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2907,8 +2907,8 @@ END
fi
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
/\^[\S\n_#]+?font_size\s+?\d+?/ { size = $2 } END { print font " " size}' \
term_font="$(awk '/^[\S\n_#]+?font_family\s+?/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
/^[\S\n_#]+?font_size\s+?\d+?/ { size = $2 } END { print font " " size}' \
"${kitty_file}")"
;;