contrib: viptext: avoid crash on lines of only whitespace

This commit is contained in:
xfnw 2024-05-06 17:54:04 -04:00
parent 34049fae33
commit 2546ee5d66
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ try:
h=0
while True:
inp = input()
if len(inp) < 1:
if len(inp.strip()) < 1:
h+=5
continue
h+=fluttext(inp,0,h)+1