Commit Graph

390 Commits

Author SHA1 Message Date
Zack Guo 1fd509e58d Fix https://github.com/gizak/termui/issues/97 2017-05-02 22:11:46 +08:00
Zack Guo 78e78f78b9 Merge pull request #139 from bentx/master
Expose ResetHandlers()
2017-04-08 21:45:21 +08:00
bentx 3b3aa549db expose ResetHandlers 2017-04-08 20:09:47 +07:00
Zack Guo 86c275c69b Fix https://github.com/gizak/termui/issues/99 https://github.com/gizak/termui/issues/112
Now keyboard events will be handled in order, but the consequence is computation-intense may need to be moved to a seperate goroutine otherwise it may delay the next event call.
2017-04-06 17:20:54 +08:00
Zack Guo 383c12d69e Merge pull request #138 from ryanguest/master
Fix a couple small typos
2017-04-05 10:35:04 +08:00
Ryan Guest ba69a564f2 Fix a couple small typos 2017-04-03 22:47:18 -07:00
Bradley Cicenas ea10e6ccee add custom number format func to mbarchart 2017-03-10 12:27:16 +11:00
Bradley Cicenas 099886834f allow for custom number format function in barchart 2017-03-10 12:27:16 +11:00
Zack Guo 798ffb9cbb Merge pull request #127 from jsoref/spelling
Spelling fixes
2017-03-06 19:53:53 +08:00
Q.P.Liu 6c8b7692b1 Add image widget. 2017-03-04 12:29:42 -08:00
Zack Guo 991cd3d380 Merge pull request #119 from vitan/master
Typo: renamed DefualtHandler to DefaultHandler
2017-01-17 17:23:42 -05:00
Weitao Zhou 75e0f771c4
Typo: renamed DefualtHandler to DefaultHandler 2017-01-17 16:12:49 +08:00
Zack Guo 24acd523c7 Update table example 2017-01-15 23:17:50 -05:00
Zack Guo d921faeffe Update copyright 2017-01-14 01:07:43 -05:00
Zack Guo e03bfffa49 Correct table example 2017-01-14 01:04:00 -05:00
Zack Guo 40027c172a Merge branch 'bsdavidson-tableFix' 2017-01-14 00:58:01 -05:00
韩拓 322b4a1dd4 Update linechart.go 2017-01-06 01:13:08 +08:00
韩拓 f0de1c5506 Update linechart.go 2017-01-06 00:27:43 +08:00
韩拓 ee9a031595 Update linechart.go 2017-01-05 23:47:12 +08:00
韩拓 e9579197a7 Update linechart.go 2017-01-05 23:45:31 +08:00
Brian Davidson 93f8e2797b Adds color support
Cleans up code a bit, removes spelling errors. Also updates variable names to better conform to Go standards.
2016-12-21 18:15:51 -08:00
Zack Guo f63e0cdd3f Merge pull request #111 from wanzysky/master
table widget
2016-11-29 10:18:07 -05:00
wanzysky c0ca424444 change TextAlign type to Align\n fix backgound full fill 2016-11-29 12:21:02 +08:00
wanzysky 0d2f54137b uft8 characters support 2016-11-25 16:35:00 +08:00
wanzysky 7ce2564652 optional seperators and specific color for row 2016-11-23 15:56:24 +08:00
Zack Guo cfe1ea3b97 Update copyright info 2016-11-10 23:25:53 -05:00
wanzysky c178559c26 merge master 2016-11-10 19:00:10 +08:00
wanzysky f5d3d35ce0 fix importation 2016-11-10 18:59:13 +08:00
万昭祎 25c85a59b0 feature: support table (#1) 2016-11-10 18:55:42 +08:00
wanzysky a6fbfcb5c7 feature: support table 2016-11-10 18:46:23 +08:00
Zack Guo bfde399a8c Lock deps 2016-11-03 17:41:48 -04:00
Zack Guo 7cbb70e87e Bring tabpane back
Fix https://github.com/gizak/termui/issues/101
Fix https://github.com/gizak/termui/issues/94
Fix https://github.com/gizak/termui/issue
Fix Buffer.Sync() can not actually take affect
Fix Buffer.Bounds() cutting corner
2016-11-03 14:23:37 -04:00
Zack Guo c8b6d85d42 Merge branch 'master' into tabpane 2016-11-03 13:26:54 -04: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
Zack Guo 8e01231aa1 Bridge Tabpane 2016-11-03 01:41:47 -04:00
Zack Guo d29684eba4 Merge pull request #88 from heavenlyhash/patch-1
Clear screen during re-layouts in example
2016-10-25 17:22:53 -04:00
Zack Guo c1c69b79dd Merge pull request #103 from martinlindhe/linechart-fix-x-label-dynamic-data
linechart: remember if data labels were automatically calculated
2016-10-25 12:17:03 -04:00
Zack Guo a7e3aeef4c Merge pull request #98 from MrWaggel/patch-1
Added a EvtStream member function ResetHandlers()
2016-10-23 22:17:13 -04:00
Zack Guo f309f2b73c Merge pull request #107 from jcbwlkr/doc
Fix example program in doc.go
2016-10-17 13:12:21 -04:00
Jacob Walker fa3e242ce3 Fix example program in doc.go 2016-10-17 11:32:45 -05:00
Zack Guo 797aea3560 Merge pull request #106 from dareg/master
Border.Label -> BorderLabel
2016-10-14 10:04:22 -04:00
Dareg 5915b71c94 Border.Label -> BorderLabel 2016-10-14 13:48:50 +02:00
Martin Lindhe a75e14acaa remember if data labels were automatically calculated, fix x labels with dynamic data 2016-09-24 01:09:48 +02:00
Martin Lindhe 5e8d1e2014 linechart: reset bottomValue and topValue on each calculation, to only consider current data 2016-09-24 00:39:43 +02:00
Zack Guo 23b25db083 Merge branch 'leighmcculloch-barchart-cell-char' 2016-08-13 22:39:28 -04:00
Zack Guo 62281b0e23 Reconcile CellChar color 2016-08-13 22:34:50 -04:00
Zack Guo 4e0083d6b1 Merge branch 'barchart-cell-char' of git://github.com/leighmcculloch/termui into leighmcculloch-barchart-cell-char 2016-08-13 21:36:51 -04:00
MrWaggel ecd5df9a49 Added a EvtStream member function ResetHandlers()
A feature that I missed, it clears all the defined termui.Handle() calls.

Also a cleaner fix for https://github.com/gizak/termui/issues/92
2016-08-13 13:43:04 +02:00
Zack Guo 202925a536 Merge pull request #96 from leighmcculloch/typo-fix
Correct typo in internal variables.
2016-07-11 10:51:34 -04:00
Leigh McCulloch a1fd1aa952 Correct typo in internal variables.
What
===
Change `Lebel` => `Label` in `linecharge.go`.

Why
===
`Label` was incorrectly spelled `lebel`.
2016-07-08 19:28:22 -07:00