2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-17 03:26:09 +00:00
Commit Graph

366 Commits

Author SHA1 Message Date
Jakob Maier
55189331c5 Added GetSelection() and SetSelectionChangedFunc() to Table 2018-01-14 11:23:13 +01:00
Oliver
1e78c506cb Rewrote TextView's reindex() and Draw() to introduce text alignment and
word wrapping
2018-01-13 23:13:21 +01:00
Oliver
38d663c267 In Form, changed GetElement() to GetFormItem() for consistency reasons. 2018-01-13 13:07:05 +01:00
Oliver
946d2620b6 Added GetSelectable() to Table so users can find out what is currently selectable. Resolves #21 2018-01-13 12:51:12 +01:00
Oliver
4153189e1b A resize event should have the screen cleared before redrawing. Fixes #19 2018-01-13 12:43:12 +01:00
Oliver
cc7bb29944 Avoiding access to nil pointer. 2018-01-13 11:45:48 +01:00
Oliver
fdab2627c3 Calling Application.Draw() for global key handlers which steal the event. 2018-01-12 17:39:58 +01:00
Oliver
0c4fd605ae Fixed wrong TextView handling of tabs (and other runes without a width). 2018-01-12 13:25:30 +01:00
Oliver
68cd2d4bb0 Layout fixes in readme. 2018-01-12 09:24:53 +01:00
Oliver
c2bfee0387 Added password field to Form demo in presentation. 2018-01-12 09:23:53 +01:00
Oliver
a7346b12c6 Updated documentation. 2018-01-12 09:16:46 +01:00
Oliver
d74b71b48d Supporting any color now in TextView. Resolves #12 2018-01-12 09:09:01 +01:00
Oliver
5f33d0cbc0 Some adaptations for 32-bit systems. Resolves #17 2018-01-12 08:35:30 +01:00
Oliver
967b863aac Added navigation instructions to presentation demo. Resolves #14, resolves #10 2018-01-12 08:20:42 +01:00
Oliver
7dd0754cc6 Some pull request post-processing. 2018-01-12 08:12:42 +01:00
Oliver
f415a042fd Merge branch 'master' of github.com:rivo/tview 2018-01-12 08:10:25 +01:00
rivo
50c1c0e617
Merge pull request #15 from mylxsw/master
Thanks!
2018-01-12 08:10:12 +01:00
Oliver
09ec4666c8 Added a contact link to code of conduct. 2018-01-12 08:09:08 +01:00
Oliver
c1e76bdb61 Code of conduct filename should conform to GitHub standards. 2018-01-12 08:08:29 +01:00
rivo
828d9766e7
Merge pull request #16 from Connorula/master
Thanks.
2018-01-12 08:07:08 +01:00
Connor Devlin
9bb7628bfb Added a code of conduct. 2018-01-11 23:51:13 -05:00
管宜尧
42fcf63eca create unicode(chinese) support demo 2018-01-12 11:03:29 +08:00
Oliver
589b0fff8e Updated readme. 2018-01-11 16:55:22 +01:00
Oliver
d6ce974e6d Added masking to InputField, password field to form. Resolves #7, resolves #8. 2018-01-11 16:13:01 +01:00
Oliver
61d8ea30f8 Added support for wide unicode characters (e.g. Chinese). Resolves #9 2018-01-11 15:45:52 +01:00
Oliver
17c785e1f8 Application does not lock on PollEvent() call anymore. Should resolve gridlocks when calling SetRoot() in goroutines. Resolves #6 2018-01-11 11:54:22 +01:00
rivo
fee6bd1ef9
Merge pull request #3 from ss18/typo
scollable -> scrollable, thanks!
2018-01-10 10:53:49 +01:00
Oliver
3fbea7a99b Added a listener for changes in input fields. Also in the Form. Fixes #4. 2018-01-10 10:40:51 +01:00
Oliver
2874294d89 Added Styles variable with default colors for primitives. 2018-01-10 09:44:21 +01:00
Semen Zhydenko
21a909f91c scollable -> scrollable 2018-01-10 09:38:18 +01:00
Oliver
e4f97a6436 Added links to Wiki to documentation. Also replaced screenshot with GIF screencast. 2018-01-07 16:39:06 +01:00
Oliver
7b5ab63e8c List selections should be visible even when they don't have focus. Also added screenshot for Postgres demo. 2018-01-07 14:37:41 +01:00
Oliver
615931ac50 Fixed typo. 2018-01-07 14:11:26 +01:00
Oliver
50871c3386 Added screenshots for all demos. 2018-01-07 13:53:39 +01:00
Oliver
c989300073 Final preparations for the first official release. 2018-01-06 22:49:12 +01:00
Oliver
36cca0dedc Completed Godoc documentation. 2018-01-03 21:13:32 +01:00
Oliver
8c9be84ef8 Various improvements. 2018-01-01 21:50:20 +01:00
Oliver
759602af1b Minor bugfix. 2018-01-01 17:17:32 +01:00
Oliver
997b92f1b4 More callback handlers for lists. And more consistency. 2018-01-01 17:17:20 +01:00
Oliver
60313b7f25 SetRoot() also sets focus. 2018-01-01 17:16:36 +01:00
Oliver
53527f5f80 Added a presentation demonstrating tview's capabilities. 2017-12-30 22:10:13 +01:00
Oliver
7a69902269 Non-scrollable text views must track end. 2017-12-30 22:09:36 +01:00
Oliver
5555b22427 Bugfix in pages focus. 2017-12-30 22:09:10 +01:00
Oliver
b8e50f0e44 Embedding frame in modal instead of deriving from it, thus hiding frame's functions. 2017-12-30 22:08:43 +01:00
Oliver
7dc0dace25 Improved table navigation. 2017-12-29 22:27:10 +01:00
Oliver
42fa258a5e Added more colors to the text view. 2017-12-29 18:50:46 +01:00
Oliver
aa93dab30d Clamping column offset in text view. 2017-12-29 18:45:52 +01:00
Oliver
9659be0e90 No need to explicitly hide the cursor in no-cursor primitives. 2017-12-28 22:19:36 +01:00
Oliver
1cc5331a5c Fixed focus delegation. 2017-12-27 22:55:50 +01:00
Oliver
c1b4809f2e Contained pages need to be resized if requested. 2017-12-27 22:28:16 +01:00