1
0
mirror of https://github.com/gizak/termui.git synced 2025-04-27 13:48:51 +08:00

5 Commits

Author SHA1 Message Date
Caleb Bassi
08e68490f3 Add TextBox widget
- TextBox is a superset of Paragraph, so Paragraph is deprecated
- adds support for a cursor, which can be moved
- the `Text` field is now private, replaced with `SetText`, `InsertText`, and `ClearText` methods

TODO:

- adding focusable widgets support to termui might clean up the API since we could potentially move the event handling from client side to library side
- add support for scrolling the TextBox view
- fix the cursor position on linewrap
- fix linewrapping
- add line number support
2019-03-15 22:40:01 -07:00
Caleb Bassi
70fa7b8887 v3.0.0 🎉
Fix install command
2019-03-07 03:42:49 -08:00
Caleb Bassi
ad36843630 Fix demo example 2019-01-26 02:49:34 -08:00
Caleb Bassi
e0e85dab9d s/NewLineChart/NewPlot in examples 2019-01-25 03:05:49 -08:00
Caleb Bassi
889de68f35 Refactor README and remove widget screenshots 2019-01-23 23:09:50 -08:00