Commits

Carl Meyer  committed 64a41b3

a terminal size of (0,0) is no terminal size at all; fixes #139

  • Participants
  • Parent commits 4bd9523

Comments (0)

Files changed (1)

         '1234'))
         except:
             return None
+        if cr == (0, 0):
+            return None
         return cr
     cr = ioctl_GWINSZ(0) or ioctl_GWINSZ(1) or ioctl_GWINSZ(2)
     if not cr: