termtab-0.1.0.0: TUI guitar tablature and score editor
Safe HaskellNone
LanguageGHC2021

Termtab.Graphics.Demo

Description

One-shot notation demos used to validate the graphics pipeline in a real terminal (Phase 0), independent of the TUI.

  • runNotationDemo uses direct placement (a=T) to prove the Kitty encoder, renderer, and foreground query work end to end.
  • runPlaceholderDemo uses a virtual placement plus Unicode placeholder cells — the same mechanism the brick widget will use — to prove images can be shown through ordinary terminal cells.
Synopsis

Documentation

runNotationDemo :: IO () Source #

Direct placement: draw the notation image at the cursor.

runPlaceholderDemo :: IO () Source #

Virtual placement shown through Unicode placeholder cells.