Commit Graph

440 Commits

Author SHA1 Message Date
Oliver 237e3862e0 Bugfix: TreeView mouse events need to consider scroll offset. Fixes #528 2020-11-17 15:08:43 +01:00
Clement Sam dfcd0cb598
Merge branch 'master' into patch-1 2020-11-10 19:31:17 +00:00
Michael Vetter 05627e20a2 Fix typo in SetColumns() documentation 2020-11-05 14:45:02 +01:00
Ole Andre Birkedal 08f99e45b7 added irccloud cli client to list of projects 2020-10-18 16:20:53 +02:00
rivo d551c850a7
Merge pull request #487 from dhulihan/patch-1
Update README.md
2020-10-18 14:24:09 +02:00
Oliver 273cbf289d Typo fix. 2020-10-18 14:19:24 +02:00
Oliver e4d167311d Upgraded to latest tcell version. Results in a minor incompatibility in the Table class. 2020-10-18 14:15:57 +02:00
Clement Sam 11972b496b
docs(readme): add glab to tview projects 2020-09-26 07:09:04 +00:00
Oliver 42866ecf6c Selected autocomplete items should be used without colour tags. Fixes #472 2020-09-15 13:45:12 +02:00
Oliver 9b49eb3fef Added a "clicked" handler to TableCell. Resolves #470 2020-09-15 13:09:44 +02:00
Dave Hulihan 5f85090c27
Update README.md 2020-08-20 21:33:48 -06:00
Oliver 53d50e499b Bugfix in Flex which led to a panic. 2020-08-18 14:03:38 +02:00
Oliver 3acd674ec1 Minor fixes. Also added winman. 2020-08-18 13:10:01 +02:00
rivo 25aecd0c3a
Merge pull request #454 from wkoszek/feature/tview_apps
Add list of projects using tview.
2020-08-18 12:56:05 +02:00
Oliver 0a2427525a Removed size change check (apparently this led to problems on Windows). Fixes #401, closes #404 2020-08-18 12:21:46 +02:00
Oliver deb54e1422 Keyboard events are now propagated down the hierarchy, allowing users to intercept them. Closes #421 2020-08-18 12:05:43 +02:00
Oliver c65badfc3d TextView.GetText() and .GetRegionText() didn't filter out empty colour tags. Fixes #453 2020-07-12 13:34:19 +02:00
Wojciech Adam Koszek 309ad75eab Add descriptions to links 2020-06-03 00:10:33 -07:00
Wojciech Adam Koszek e730642e94 Add list of projects using tview. 2020-06-01 23:20:54 -07:00
rivo fe95322038
Merge pull request #444 from mjwhitta/master
Fixed terminal colors
2020-05-28 22:02:48 +02:00
Oliver d465381941 Bugfix in string decomposition: Escape sequences cannot be handled after the fact. Fixes #448 2020-05-28 10:36:26 +02:00
Oliver 8aa2912f24 Bugfixes in ANSI escape sequence handling as well as TextView, fixes #320, fixes #344 2020-05-27 21:41:21 +02:00
Miles Whittaker 9fa0388a74 Ran go fmt for consistency 2020-05-12 08:51:57 -04:00
Miles Whittaker 971141a5d9 Fixed 8-bit background colors 2020-05-11 22:51:34 -04:00
Miles Whittaker 1bab2394e4 Fixed terminal colors 2020-05-11 16:51:00 -04:00
rivo 823f280c54
Merge pull request #431 from millerlogic/treeview-handlers
Allow changing current node and changing focus in treeview handlers
2020-05-07 18:53:25 +02:00
Chris Miller 591e235272 Also call node.selected on node click 2020-04-29 01:18:31 +00:00
Chris Miller 089ac467f8 Allow changing focus in handler 2020-04-17 02:16:20 +00:00
Chris Miller 7b79cb6347 Allow changing current node during handler 2020-04-17 02:15:53 +00:00
Chris Miller 77ccc1ff41 Allow changing current node during handler
Avoids wrong handler being called or even crash on nil
2020-04-17 02:12:37 +00:00
Oliver 8e06c826b3 Merge branch 'master' of github.com:rivo/tview 2020-04-14 15:03:44 +02:00
Oliver e352ec0156 Fixed mouse/keyboard input issues with input fields and forms. Fixes #363 2020-04-14 15:03:31 +02:00
rivo ba71c7df7c
Merge pull request #418 from abitrolly/patch-2
Use List height for scrolling with PgUp/PgDn
2020-04-14 13:53:51 +02:00
rivo 7e599fe9aa
Merge pull request #403 from tslocum/scrolltable
Fix scrolling table with PageDown and PageUp
2020-04-14 13:51:03 +02:00
Oliver 285468943b Added getters for common Box attributes. Resolves #427 2020-04-14 13:29:54 +02:00
Oliver ca37f83cb2 TextView changed function is always called in a separate goroutine to avoid deadlocks. Fixes #416 2020-04-04 22:46:04 +02:00
Oliver cce7c98823 Don't forward mouse events to nil items in Flex/Grid. Fixes #425 2020-04-04 22:19:02 +02:00
rivo 7cc182c584
Merge pull request #422 from rivo/mouse
Added mouse support, closes #13
2020-03-29 21:43:46 +02:00
Oliver f395cf6e33 Added mouse scrolling to List, Table, TextView, and TreeView. 2020-03-29 21:36:06 +02:00
Oliver b3dc389cb4 Added mouse support to presentation demo. TextView "highlighted" callback also receives remaining highlights. 2020-03-29 21:03:36 +02:00
Oliver 2505a942a1 Added mouse selection of regions in TextViews. 2020-03-29 20:20:05 +02:00
Oliver 5f5b79b00e Added mouse support for Table and TreeView. 2020-03-27 21:13:03 +01:00
Oliver 9af6826328 Added/fixed comments, some structural changes/bugfixes for mouse support. Table, TextView, and TreeView still open. Closes #363 2020-03-27 18:41:44 +01:00
rivo 160d8fda1d
Merge pull request #363 from millerlogic/mouse-support
Mouse support
2020-03-26 19:28:51 +01:00
Anatoli Babenia 37ec5d08a6
Use List height for scrolling with PgUp/PgDn
Fixes #417.
2020-03-11 22:22:05 +03:00
Chris Miller 55c590d97f Refactor fireMouseActions 2020-03-03 18:07:39 +00:00
Chris Miller 12f94f688a Document DoubleClickInterval 2020-03-03 17:45:32 +00:00
Chris Miller 55cdc84e25 EnableMouse to take bool and enable/disable directly 2020-03-03 16:24:50 +00:00
Chris Miller 15700e7129 Minor changes 2020-03-03 16:16:56 +00:00
Chris Miller 1fb9862c00 Separate action events 2020-02-28 01:19:36 +00:00