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

tui.cleanup

tui.cleanup

Restores the terminal: mouse tracking and bracketed paste off, style reset, cursor shown, main screen, unread input drained, original stty settings back.

Notes

  • tui.run and the signal traps already call it. Call it yourself only when you called tui.init without tui.run.

See also: tui.init