Skip to content

langstage-cli 0.6.14

Latest

Choose a tag to compare

@dkedar7 dkedar7 released this 10 Jul 12:04
a4fc2d9

Fixed

  • The header box collapsed to a bare ╭╮/╰╯ under a pty that reports 0 columns (gh #71). get_terminal_width() guarded OSError but not the case where os.get_terminal_size() succeeds and reports columns == 0 — which a pty forked without an initialized window size (pexpect/expect automation, some CI pseudo-ttys, editor terminals, process supervisors) really does. min(0, 100) == 0 made the box borders vanish while content rows overflowed. Width is now floored at 40 (min(max(cols, 40), 100)), so the banner always renders.