gotop/vendor/github.com/cjbassi/termui/README.md

22 lines
783 B
Markdown
Raw Permalink Normal View History

2018-03-30 06:48:43 +08:00
# termui
2018-04-09 07:50:02 +08:00
A fork of [termui](https://github.com/gizak/termui) with a lot of code cleanup and (frequently asked for) improvements.
2018-03-30 06:48:43 +08:00
You can see an implementation/example usage of this library [here](https://github.com/cjbassi/gotop).
2018-04-09 07:50:02 +08:00
Some usage improvements include:
2018-04-22 12:02:37 +08:00
* better event/key-combo names
2018-04-09 07:50:02 +08:00
* more convenient event handling function
* 256 colors
* better grid system
* linegraph uses [drawille-go](https://github.com/exrook/drawille-go)
* no longer have to choose between dot mode and braille mode; uses a superior braille mode
* table supports mouse and keyboard navigation
2018-04-11 11:08:02 +08:00
* table is scrollable
2018-04-09 07:50:02 +08:00
* more powerful table column width sizing
* visual improvements to linegraph and table
TODO:
* readd widgets that were removed like the list and bargraph
* focusable widgets