Commit Graph

198 Commits

Author SHA1 Message Date
Oliver 028ad94730 Fixed semigraphics style in TreeView which ignored background color. Fixes #173 2018-10-27 13:43:14 +02:00
Oliver a7c1880d62 Updated readme. 2018-10-18 08:37:48 +02:00
Oliver 990bc2ebcf InputField can now be navigated freely. Resolves #103, resolves #171, resolves #162 2018-10-18 08:34:08 +02:00
Oliver 4a4db5c136 TextView also uses iterator function now. 2018-10-17 18:24:18 +02:00
Oliver d53a7c24fd WordWrap() also uses iterator function now. 2018-10-17 17:41:00 +02:00
Oliver d76484006e Another rewrite of the Print() function. Uses iterator callbacks now. 2018-10-17 07:36:54 +02:00
Oliver bc39bf8d24 Bugfixes related to zero-width joiners. 2018-09-26 12:03:53 +02:00
Oliver a677b985cc Allowing the use of arrow keys in modal buttons, too. Resolves #167 2018-09-26 11:35:00 +02:00
Oliver 29458dad3e Added support for zero-width joiners. Resolves #161 2018-09-25 17:31:49 +02:00
Oliver fed6446838 Added the possibility to provide your own tcell.Screen object to Application. Resolves #159 2018-09-05 13:26:22 +02:00
Oliver 2590cd6434 Added RemoveItem() function to List. Resolves #158 2018-09-05 12:57:35 +02:00
Oliver 00de4610ae Added custom higlight styles to Table. Resolves #154 2018-09-05 10:39:21 +02:00
rivo 77bcb6c6b9
Merge pull request #157 from UnquietCode/add-screenshot
add screenshot readme to tree view
2018-08-21 16:27:22 +02:00
Benjamin Fagin e94d415863
Create README.md 2018-08-18 09:47:45 -07:00
Oliver 21f50f5bc4 Fixed the docs of FormItem. Fixes #153 2018-08-07 09:25:40 +02:00
Oliver c325864561 Added style attributes to Box border. Resolves #152 2018-08-07 09:23:19 +02:00
rivo bc005edd52
Merge pull request #151 from SamWhited/modal_esc
Call modal done func on escape key
2018-08-07 09:15:56 +02:00
Oliver 85052babb2 Replaced license placeholders. Fixes #149 2018-08-04 11:55:25 +02:00
Sam Whited 65c5186a20 Call modal done func on escape key
Fixes #150
2018-08-03 13:03:11 -05:00
Oliver 6614b16d90 Added GetScrollOffset() to TextView. Resolves #124 2018-07-28 21:30:50 +02:00
Oliver 405e5fbb4f Separated TreeView's tree-building from Draw() function so changed events can be fired before drawing. Fixes #142 2018-07-27 18:27:27 +02:00
Oliver cc64ead1ed Made Application.Draw() thread-safe (for real this time). Fixes #136 2018-07-27 16:30:50 +02:00
Oliver 100f053ee1 ANSI RGB colors were missing hashtags in tags. Fixes #140 2018-07-27 13:40:54 +02:00
Oliver 768070ef7b Hitting Escape on a drop-down selection resets it. 2018-07-19 12:46:48 +02:00
Oliver c33dd0cf8e Added form item removal functions and more ways to find items. Resolves #137 2018-07-17 20:18:39 +02:00
Oliver 7338a21d35 Fixed ANSI spelling in README, too. See #138 2018-07-16 08:44:19 +02:00
rivo 4c25f440a5
Merge pull request #139 from ardnew/master
Replace all instances of ANSII; Resolves #138
2018-07-16 08:41:17 +02:00
ardnew 4b5dd0f8e1 replacing all instances of "ANSII" with "ANSI"
renaming unit ansii.go to ansi.go
resolves rivo/tview#138
2018-07-15 13:23:12 -05:00
Oliver 83483397e8 Cosmetic improvements. 2018-06-28 14:49:42 +02:00
rivo 6b270eb8e8
Merge pull request #135 from kvj/suspend-in-goroutine - fixes #134
Block main event loop with mutex during Suspend() call
2018-06-28 14:44:54 +02:00
Konstantin Vorobyev 01a39a486d Review feedback 2018-06-20 19:32:19 +02:00
Konstantin Vorobyev 2ac0e9e086 Block main event loop with mutex during Suspend() call 2018-06-20 17:04:03 +02:00
Oliver 306abd9cb9 Minor tweaks. This now also resolves #113 2018-06-20 10:17:55 +02:00
Oliver 4631cd7337 Added the tree view. 2018-06-20 10:06:05 +02:00
rivo e643d10b36
Merge pull request #126 from benweidig/fix_borders
Refactored semigraphics and configurable borders
2018-06-15 23:09:46 +02:00
Oliver 6ffb56ee2a TextView now reindexes only on width changes if wrapping is enabled. 2018-06-09 22:35:48 +02:00
Oliver 1ee0c559cc Switched flexItem slice to pointers. 2018-06-09 22:16:38 +02:00
Benjamin Weidig 7ad390eb5e Removed deprecated funcs/const related to semigraphic changes 2018-06-09 14:58:29 +02:00
Benjamin Weidig e8c92a715c Added visualization to SemigraphicJoints
To better understand what runes are joined how I've added comments with the actual unicode char. Also clarified that the key has to be sorted by rune value
2018-06-09 14:58:29 +02:00
Benjamin Weidig b6cd5e5021 added comment to semigraphic related code 2018-06-09 14:58:29 +02:00
Benjamin Weidig 06dd16088a replaced old borders code with new configurable borders 2018-06-09 14:58:29 +02:00
Benjamin Weidig 29553e5794 added configurable borders 2018-06-09 14:58:29 +02:00
Benjamin Weidig 2e0f146244 refactored semigraphics
For a better semigraphics support all related code was moved to its own file. The const names reflect their unicode name to better distinguish the runes.
2018-06-09 14:58:29 +02:00
Benjamin Weidig 76fdcb42e9 fix borders and add unicode comment 2018-06-09 14:58:29 +02:00
Oliver 0ebcb1ed99 Excluding control characters from output (creates unwanted artefacts). Fixes #130 2018-06-09 13:16:20 +02:00
Oliver 398a6c2f77 Added a function to resize a Flex item. Resolves #125 2018-06-07 14:19:25 +02:00
Oliver 71ecf1f429 Added a scroll function to TextView. Resolves #124 2018-05-28 21:27:25 +02:00
Oliver bb80ad41aa Minor text change in presentation. Hopefully makes it more clear what's displayed. 2018-05-23 16:56:06 +02:00
Oliver 7afc7ac893 Index out of range bugfix. Fixes #101 2018-05-18 23:46:33 +02:00
Oliver a26df4e781 Added SetAttributes() and SetStyle() to TableCell. Resolves #111 2018-05-15 16:59:07 +02:00