D.A.B.Tv0.0.17 Tutorial API DABT Tools ↗ GitHub ↗

tui.on_resize

tui.on_resize

Marks the terminal as resized; the main loop re-lays out on its next iteration.

Notes

  • Installed as the WINCH handler by tui.run. You rarely call it yourself.
  • A drag-resize is coalesced: the loop waits until no resize arrived for about 40 ms, then lays out once and fires the resize hook.