Skip to content

mohammedgqudah/terminal-markup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Markup

A markup language to build terminal interfaces, built on top of curses.

⚠️ This project is purely an experiment and is still under development

TODO

  • debug mode
  • unit/feature testing by dumping curses stdout
  • scrolling
    • case: parent static max height is 50, child static uses more than 50 lines
  • layout/styles
    • nesting Statics
    • auto calculating position and height
    • flex box
    • max height
    • max width
    • min width
    • min height
    • display: inline-block
    • units (%, cell, line)
    • CSS parser
  • components
    • options
    • text input
    • button
  • detect mouse input
    • detect which component was clicked based on cords (focus)