General: Supress xrdb error

This commit is contained in:
Dylan Araps 2016-11-08 07:05:14 +11:00
parent 67b5a1d768
commit 6c7501eb20
1 changed files with 1 additions and 1 deletions

View File

@ -2926,7 +2926,7 @@ gettermpadding() {
dynamicprompt() {
# Calculate image height in terminal cells.
if [[ "$image" != "ascii" ]]; then
gettermpadding
gettermpadding 2>/dev/null
lines="$(((height + (${border:-0} * 2) + ${yoffset:-0}) / font_height))"
else
lines="$((lines-=2))"