improved error bypass logic in _apply_bindings(), fixes #330

This commit is contained in:
Gregory Pakosz 2020-03-17 19:54:06 +01:00
parent 57eeffcf0e
commit 4919400fe2
1 changed files with 2 additions and 2 deletions

View File

@ -755,8 +755,8 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
# '{i = $2 == "-T" ? 4 : 5; gsub(/^[;]$/, "\\\\&", $i); gsub(/^[$"#~]$/, "'"'"'&'"'"'", $i); gsub(/^['"'"']$/, "\"&\"", $i); print}' > "$cfg.in"
#
# # ignore bindings with errors
# while ! out=$(tmux source-file "$cfg.in"); do
# line=$(printf "%s" "$out" | cut -d':' -f2)
# while ! out=$(tmux source-file -v "$cfg.in"); do
# line=$(printf "%s" "$out" | tail -1 | cut -d':' -f2)
# perl -n -i -e "if ($. != $line) { print }" "$cfg.in"
# done
# }