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
a9772ca753
Change list widget scroll method names
2019-03-01 14:04:59 -08:00
Caleb Bassi
3006e4efe4
Change various widget field names
2019-02-28 18:35:40 -08:00
Caleb Bassi
9bbf7adda8
Merge pull request #222 from ryanlewis/master
...
Table render improvements
2019-02-01 21:21:45 -08:00
Caleb Bassi
013ef15209
Update List example with more scrolling options
2019-02-01 21:05:03 -08:00
Ryan Lewis
3eaafc7706
Tweaked background colour rendering on seperators when using row fill
2019-02-01 18:24:46 +00:00
Ryan Lewis
83319fb800
Fill whole rows with row style
2019-02-01 18:12:22 +00:00
Ryan Lewis
ddd058e89d
Allow override of styles for individual rows
2019-02-01 17:24:33 +00:00
Caleb Bassi
436eb3a261
Add list page scrolling to list example
2019-01-31 19:14:37 -08:00
Caleb Bassi
79bb597a33
Add scrolling to List widget
2019-01-26 22:32:08 -08:00
Caleb Bassi
067b2c5514
Refactor canvas into seperate repo
2019-01-26 05:19:45 -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
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
Caleb Bassi
a7658ef79f
Fix plot example widget titles
2019-01-24 08:06:12 -08:00
Caleb Bassi
8c72139752
s/LineChart/Plot and add ScatterPlot mode to it
2019-01-24 07:56:22 -08:00
Caleb Bassi
889de68f35
Refactor README and remove widget screenshots
2019-01-23 23:09:50 -08:00
Caleb Bassi
f9fb0e75f0
Update list example
2019-01-23 21:44:00 -08:00
Caleb Bassi
e4c62303f7
theme: Set default colors to ColorWhite
2019-01-23 21:36:58 -08:00
Caleb Bassi
958a28575d
The Great Rewrite
2019-01-23 20:16:13 -08:00
Caleb Bassi
b509ce1141
Update readme; add hello_world.go
2018-11-29 15:52:53 -08:00
Caleb Bassi
ed219e8c05
Update readme and examples
...
Moved the PollEvents call outside of the for loop
2018-11-29 15:42:04 -08:00
Caleb Bassi
4782da6ed6
Refactor tabpane
...
- Move from termui/extra/tabpane.go to termui/tabpane.go
- Renamed from Tabpane to TabPane
2018-11-29 09:41:29 -08:00
Caleb Bassi
bcaa487074
Rename mbarchart to stackedbarchart
2018-11-28 18:50:44 -08:00
Caleb Bassi
7f3648562a
Rename Par to Paragraph
2018-11-28 18:25:38 -08:00
Caleb Bassi
ea15e228f4
Rework events (again)
2018-11-28 18:19:34 -08:00
Caleb Bassi
00d684343a
Readd explicit error handling to examples
2018-09-06 18:22:04 -07:00
Caleb Bassi
f4dc75130f
Update README and fix _examples links
2018-09-06 16:56:04 -07:00
Caleb Bassi
c54abcd54e
Fix refactor issue
2018-09-06 16:46:19 -07:00
Caleb Bassi
b227bd5277
Rework event system
...
* Timers should now be done through Go tickers
* Reworked event names used in Handle()
* Reworked Event type and payloads
2018-09-06 16:43:11 -07:00
Caleb Bassi
3629cdceea
Minor refactor
2018-09-06 14:48:09 -07:00
Caleb Bassi
7d98eb0bf4
File renaming
2018-09-06 14:15:57 -07:00