Commit Graph

209 Commits

Author SHA1 Message Date
Oliver ebf651d1c0 Bugfix: nil return value in input capture should not stop the event loop. Fixes #179 2018-11-10 11:10:01 +01:00
Oliver ec12437564 InputField cursor position must also be adjusted when SetText() is called. Fixes #180 2018-11-10 09:17:39 +01:00
Oliver 61a4cf388a Another fix for InputField. Fixes #176, resolves #177 2018-11-05 11:09:49 +01:00
Oliver 1dd674a1b9 Simplified the queuing of Draw() calls, also introduced QueueUpdateDraw(). #172 2018-11-05 10:53:57 +01:00
Oliver 60a1c63fa9 Accepting non-alt-mod keys as characters in InputField if they don't have a function. Fixes #176 (hopefully) 2018-10-29 17:30:58 +01:00
Oliver 380278f41c Bugfix in TextView. 2018-10-29 11:12:40 +01:00
Oliver 5c44db199f Merge branch '3cb-add-synchronization-channels' 2018-10-28 13:43:04 +01:00
Oliver c22d5570be Bugfixes/improvements to PR #172. 2018-10-28 13:42:49 +01:00
Oliver d830c42f6b Merge branch 'add-synchronization-channels' of https://github.com/3cb/tview into 3cb-add-synchronization-channels 2018-10-27 14:28:16 +02:00
Oliver 6d988e2839 Minor typo fixes. 2018-10-27 14:28:12 +02:00
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
Marc CB 313fed77b2 make primitive updates thread-safe using channels 2018-10-09 00:02:02 -04: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