Commit 6c7501eb authored by Dylan Araps's avatar Dylan Araps

General: Supress xrdb error

parent 67b5a1d7
...@@ -2926,7 +2926,7 @@ gettermpadding() { ...@@ -2926,7 +2926,7 @@ gettermpadding() {
dynamicprompt() { dynamicprompt() {
# Calculate image height in terminal cells. # Calculate image height in terminal cells.
if [[ "$image" != "ascii" ]]; then if [[ "$image" != "ascii" ]]; then
gettermpadding gettermpadding 2>/dev/null
lines="$(((height + (${border:-0} * 2) + ${yoffset:-0}) / font_height))" lines="$(((height + (${border:-0} * 2) + ${yoffset:-0}) / font_height))"
else else
lines="$((lines-=2))" lines="$((lines-=2))"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment