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

191 Commits

Author SHA1 Message Date
Oliver
03571f15bb When a page with focus is removed, we should not end up with no focus anywhere. Also some simplifications. 2018-01-21 21:50:11 +01:00
Oliver
ef6026df3d Fixed table background colors. More sophisticated but more aesthetically pleasing. Fixes #20 2018-01-20 23:04:09 +01:00
Oliver
f3686bfe15 Fixed Table.SetCellSimple(). Resolves #35 2018-01-20 15:59:52 +01:00
Oliver
89ae756605 Adding a page and switching to it is now possible. 2018-01-19 21:12:33 +01:00
Oliver
7c086b1113 Updated Form documentation. 2018-01-19 08:37:01 +01:00
Oliver
4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 2018-01-17 21:17:59 +01:00
Oliver
258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +01:00
Oliver
13cf1c1ee4 Added a way to output tags as cleartext in TextView even if dynamic colors or regions are enabled. 2018-01-17 10:09:09 +01:00
Oliver
95e3124245 Fixed Table cell background colors for column-only selections. 2018-01-17 09:34:45 +01:00
Oliver
e349b48fe4 Updated readme. 2018-01-17 07:44:49 +01:00
Oliver
aa25839cfa Introduced horizontal item alignment in forms. Resolves #33 2018-01-16 20:45:54 +01:00
Oliver
c105638ec3 Form now has a Clear() function. Resolves #32 2018-01-15 10:04:03 +01:00
Oliver
9608f5b3b5 Clarifying SetInputCapture() in documentation. 2018-01-14 21:54:05 +01:00
Oliver
626453b2a6 All primitives now offer a way to intercept all key events sent to them. Also made the global key event intercept handler more general/consistent. Resolves #22 2018-01-14 21:29:34 +01:00
Oliver
f61c66bb82 Minor bugfix in Table. 2018-01-14 15:16:54 +01:00
Oliver
97450a0de3 Added individual cell background colors. Resolves #20 2018-01-14 15:16:00 +01:00
Oliver
213f13fcc4 Added individual cell background colors. Resolves #20 2018-01-14 15:11:37 +01:00
Oliver
b423641ec2 Expanded the TableCell definition in preparation of adding individual cell background colors. 2018-01-14 14:41:47 +01:00
Oliver
4c0e74ada0 Flex demo is probably better without a border. 2018-01-14 14:20:46 +01:00
Oliver
5fd6365352 Flex must call Box's Draw() function first. Fixes #26 2018-01-14 13:50:58 +01:00
Oliver
677c227861 Some post-processing of pull request #29. Resolves #27 2018-01-14 13:46:37 +01:00
rivo
db90355feb
Merge pull request #29 from maja42/TableSelectionHandling
Thanks.
2018-01-14 13:40:37 +01:00
Oliver
8bc6a3f684 Minor additions to pull request #30. Resolves #28. 2018-01-14 13:35:57 +01:00
rivo
f26cdc84a2
Merge pull request #30 from maja42/TextViewScrolling
Thanks. I will make some modifications to this. You might want to check them out.
2018-01-14 13:32:08 +01:00
Jakob Maier
3442b13a04 Added ScrollToBeginning() and ScrollToEnd() to TextView 2018-01-14 11:36:27 +01:00
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