1
0
mirror of https://github.com/gizak/termui.git synced 2025-04-29 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
3006e4efe4 Change various widget field names 2019-02-28 18:35:40 -08:00
Caleb Bassi
0eb6d61079 Cleanup image widget some more 2019-01-24 10:28:17 -08:00
Caleb Bassi
0819f87750 Cleanup image widget 2019-01-24 08:59:46 -08:00