Skip to content

Nyarmith/ngraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ncurses app framework

How it Works

  1. Create a cursapp class
  2. Create windows for that class
  3. Add entities and handlers to your windows
  4. .run() the cursapp class
  • Look at the tests/ directory for examples

TODO:

  1. Create conan package
  2. Make the event-handler-in-separate-thread thing dima was talking about(it can refresh 30fps if it's a game)
  3. Make real-time mode work well over ssh tunnel
  4. Add optional global border[s] setting
  5. Give some way for the user to define their own custom color pairs https://stackoverflow.com/questions/33985896/how-to-enable-32k-color-pairs-in-ncurses
  6. Base functionality off of ncurses6 capabilities https://www.gnu.org/software/ncurses/
  7. Change y,x coord system to x,y(maybe)
  8. Function that accepts a window, makes a permanent border-window, and returns a new sub-window(or modifies the original window and keeps the border-window inaccessible)
  9. Spatial data structure for window entities, esp for default placement of entities
  10. Add "default or fixed selected window/entity" i.e. default or fixed global cursor positions
  11. Add font-control(if possible) to force the user's term to have a certain font
  12. Condition variable + Mutex Condition Variable

About

OO ncurses framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published