Skip to content

TUI Editor.md

Dark Meta edited this page Aug 18, 2025 · 1 revision

TUI Editor

Neon Ratatui‑based editor designed for glyph workflows.

Key Bindings

  • Enter: append input line → buffer (QPoly transforms chords)
  • Ctrl+S: save
  • F4: toggle emit target (JS ↔ AI)
  • F5: compile (writes output.js or output.ai)
  • F6: run JS (compiles to aeonmi.run.js and invokes Node)
  • Esc / Ctrl+Q: quit (warns on unsaved changes)
  • F1: toggle key‑event debug line (diagnostics)

Panels

  • Buffer (left): current file contents
  • Diagnostics (left/bottom): compiler/TODOs (future)
  • QPoly cheatsheet (right): common chords → glyphs

If letters appear duplicated on Windows, ensure your terminal isn’t generating auto‑repeat events; the editor filters KeyEventKind::Repeat except for Enter/Backspace/Tab.

Clone this wiki locally