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

tui.overlay.add

tui.overlay.add DRAWFN

Registers a function that draws on top of the panes after every repaint.

Parameters

  • DRAWFN: draws with absolute cursor moves (e.g. tui.overlay.box) and keeps no state of its own.

Notes

  • Overlays survive page changes; remove page-specific ones yourself.
  • Adding the same function twice is a no-op.