docs: update

This commit is contained in:
Dylan Araps 2019-01-15 19:58:32 +02:00
parent 68645339d3
commit 5b301c773b

View file

@ -3602,7 +3602,7 @@ get_window_size() {
[[ "$image_backend" == "kitty" ]] &&
IFS=x read -r term_width term_height < <(kitty +kitten icat --print-window-size)
# Get terminal width/heigh.
# Get terminal width/height.
if (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && "$os" != "Mac OS X" ]]; then
if type -p xdotool &>/dev/null; then
IFS=$'\n' read -d "" -ra win < <(xdotool getactivewindow getwindowgeometry --shell %1)