Commit Graph

40 Commits

Author SHA1 Message Date
Sasha Koshka
921d5f33cc Relicensed under GPLv3 2022-08-28 12:46:41 -04:00
Yuanbo Guo
0b52bac91f Move sub /v3 to repo root
Use v3 as dev branch, use master as tagged release branch
2021-01-16 13:14:35 +08:00
Caleb Bassi
12333d6a7e Move source files into v3 directory 2019-06-30 15:09:31 -07:00
Caleb Bassi
eaec27d1df Add sync.Locker interface to Drawable interface
Many widget implementations will want to update asynchronously, so now termui performs locks a widget when drawing. Users should call `Lock()` on their widgets when performing an asynchronous update.
2019-03-07 02:14:11 -08:00
Caleb Bassi
958a28575d The Great Rewrite 2019-01-23 20:16:13 -08:00
Caleb Bassi
ea15e228f4 Rework events (again) 2018-11-28 18:19:34 -08: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
502db632d5 Remove panicparse 2018-09-06 13:57:56 -07:00
Caleb Bassi
5d65a22da1 Merge pull request #147 from kenan-rhoton/CloseInit
Init() cleanly after Close()
2018-08-16 23:04:33 -07:00
Caleb Bassi
826e5d68fa Merge pull request #152 from deepakkamesh/master
Added support for mouse
2018-08-16 19:06:33 -07:00
physalis02
d991b10e27 [Fix] render stacked error 2018-03-22 08:44:32 +09:00
Deepak Guruswamy
4b7fc0a5fb Added support for mouse 2017-05-27 03:11:46 -07:00
Kenan Rhoton
6e522b9e10 Init() cleanly after Close() 2017-05-17 07:19:52 +02:00
Weitao Zhou
75e0f771c4
Typo: renamed DefualtHandler to DefaultHandler 2017-01-17 16:12:49 +08:00
Zack Guo
d921faeffe Update copyright 2017-01-14 01:07:43 -05:00
Zack Guo
cfe1ea3b97 Update copyright info 2016-11-10 23:25:53 -05:00
Zack Guo
806f4377c8 Make rendering panic-friendly
Raise a panic from un-recovered .Buffer() call will leave your terminal messed up. Add recover to internal rendering chan to close termui before program exit.
2016-11-03 13:10:55 -04:00
gizak
dada0699b6 Update doc string 2016-01-26 20:45:18 -05:00
gizak
0cb4aedd6f Fix https://github.com/gizak/termui/issues/61
Frequently calling termbox.Sync() will upset terminal.
2015-12-09 14:04:28 -05:00
gizak
ab87ad72d1 Fix https://github.com/gizak/termui/issues/63 2015-12-06 12:51:37 -05:00
gizak
2e6591a15e Add custom event handling 2015-10-13 12:45:03 -04:00
gizak
52f9777092 Fix grid demo and Buffer.Merge 2015-10-10 11:20:44 -04:00
gizak
e0dec9dbb9 Move widget back to root 2015-10-07 14:25:59 -04:00
gizak
196d9aae34 Theme map lookup 2015-09-21 03:11:58 -04:00
gizak
e89b10ff4f Finish Event 2015-09-18 11:41:44 -04:00
gizak
746582638b Merge remote-tracking branch 'refs/remotes/origin/master' into refactoring 2015-05-09 19:33:45 -04:00
gizak
0042236f53 Minor chanages 2015-05-09 19:29:22 -04:00
gizak
f23ed68e30 Fix https://github.com/gizak/termui/issues/43
Add termbox.Sync() call before getting terminal's width/height
Adjust examples see https://github.com/gizak/termui/pull/39
2015-05-05 10:55:35 -04:00
gizak
7aed750f64 WIP use Buffer instead of []Point in Bufferer
Merge https://github.com/Matt3o12/termui.git colored-list
Merge https://github.com/funkygao/termui.git master
Add subdir widget
Use image Rectangle represent buffer area
2015-04-21 09:56:10 -04:00
gizak
7be8d021fd Add Event
Port termbox-go Event
Hide away termbox-go event dependency
Add Event channel multiplexer
Adjuest examples
Next event system commit will work on fully concurrency on a different branch, master
will stay on single rountine
2015-04-08 12:06:47 -04:00
gizak
b8d37842ee Add docs 2015-03-24 17:16:43 -04:00
gizak
b689689056 Add build tags for examples 2015-03-20 16:21:50 -04:00
gizak
89f47edd59 Finish Grid system 2015-03-20 08:24:48 -04:00
gizak
0d3c4485b2 Rewrite grid 2015-03-19 12:00:38 -04:00
gizak
8ed1b40acf Add grid layout 2015-03-15 15:56:38 -04:00
gizak
bc325c986d Add theme support
Fix some minor bugs
Add default and helloworld themes
Update README
2015-03-11 16:15:59 -04:00
gizak
affd0d9c07 Re-construct Point 2015-03-03 13:28:09 -05:00
gizak
cc6b38d600 Add gauge and list component 2015-02-03 20:56:49 -05:00
Zack Guo
70bd0b02f3 Renderer interface 2015-02-03 09:07:31 -05:00