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

7 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
fd5a830d7a Rename style parsing functions 2019-02-24 14:56:34 -08:00
Anson Chan
b5e7ca951a refactor: use a []CellWithX instead a chan of CellWithX to make it more sense 2019-02-24 11:29:35 +08:00
Anson Chan
bbf3bb6797 fix: #226, unicode strings display in paragraph, table and list 2019-02-22 13:08:41 +08:00
Caleb Bassi
5b78b896c9 Add WrapText option to Paragraph 2019-01-26 02:47:47 -08:00
Caleb Bassi
958a28575d The Great Rewrite 2019-01-23 20:16:13 -08:00