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
1 changed files with 2 additions and 2 deletions

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}")"
;;