Commit Graph

469 Commits

Author SHA1 Message Date
Chris Miller 9598ca2519 New mouse design
capture bool not finalized
2020-01-24 20:40:34 +00:00
Ben LeFevre 37b143d5fa Add Flex.Clear() method to remove all items 2020-01-21 13:13:47 -05:00
Oliver 1316ea7a4b ANSI parser now also handles SGR 39 and 49. Fixes #347 2020-01-08 17:16:08 +01:00
ajcarvajal 93e6a490c3 Revert "formatting fixes"
This reverts commit e4b4b7fe82.
2020-01-08 09:43:49 -05:00
Oliver 5bbae91e1e Fixed off-by-one error in TextView which led to line-trailing tags be moved to the next line. Fixes #336 2020-01-07 20:56:27 +01:00
Trevor Slocum 99c1df4191 Fix presentation demo appending TextView indefinitely 2020-01-06 16:06:37 -08:00
Oliver c6236f4421 Merge branch 'master' of github.com:rivo/tview 2019-12-31 11:07:00 +01:00
Oliver c5f3e4f883 Added GetFocusedItemIndex() to Form. Resolves #293 2019-12-31 11:06:47 +01:00
rivo 1ee8d9874d
Merge pull request #292 from mikeschinkel/box_gettitle
Added a GetTitle() method to Box
2019-12-29 17:56:09 +01:00
Oliver 6e00e540f2 Added a wrap-around flag to the List. Resolves #380 2019-12-29 17:47:05 +01:00
Oliver 82b05c9fb3 Grid's background box is transparent again. Fixes #359 2019-11-29 07:51:40 +01:00
Oliver 9c225ecd57 Added GetFormItemCount() to Form. Resolves #298 2019-11-27 19:18:27 +01:00
Oliver c1775d4e31 Added a clarifying note to the contributing guidelines. 2019-11-27 19:11:06 +01:00
Oliver 0f6549646b Added SetFocus() to Modal, focuses on the provided button. Resolves #364 2019-11-27 18:27:26 +01:00
Oliver 2d957c4be0 Added an "evaluate all rows" flag to Table. Resolves #345 2019-11-21 20:56:45 +01:00
Chris Miller cd3c60e6d1 Refactor EventMouse 2019-11-05 09:19:40 +00:00
Chris Miller 93c0edc4a8 Get mouse actions rather than just mouse state 2019-11-05 06:03:04 +00:00
Chris Miller e4d6f4f3ee Fix dropdown focus 2019-11-05 01:43:35 +00:00
Chris Miller 1d496acc2b Dismiss dropdown by click 2019-11-05 01:38:47 +00:00
Chris Miller 871ddc57d7 DropDown mouse support 2019-11-05 01:11:21 +00:00
Chris Miller d891191b78 Fire Selected on list item click 2019-11-04 06:55:58 +00:00
Chris Miller d7250288e2 More mouse handling for primitives 2019-11-04 06:30:25 +00:00
Chris Miller 2f4b6ad748 Return self 2019-11-04 05:42:46 +00:00
Chris Miller 96875c75b9 Added mouse handling 2019-11-04 05:34:46 +00:00
Oliver 685bf6da76 Added GetFrontPage() to Pages. Resolves #355 2019-10-18 14:55:27 +02:00
Oliver 731cb7162a Updated dependencies. Resolves #354 2019-10-18 14:11:57 +02:00
Oliver bacbf5155b Wrong comparator led to wrong scrolling behaviour. Fixes #341, resolves #342 2019-10-18 13:56:45 +02:00
Oliver c35e6b2b4c Avoiding infinite loop on narrow TextViews. Fixes #333 2019-10-17 12:07:41 +02:00
Oliver de7ae86b5b Avoid div-by-0 in case Flex item sizes are all 0. Resolves #332, resolves #334 2019-10-17 11:33:25 +02:00
Oliver f8bc69b903 Every redraw of a Form re-evaluates the focus index. Fixes #144 2019-08-29 18:12:55 +02:00
Oliver 23dc8a0944 Table.Select() also triggers "selection changed" event. Fixes #323 2019-07-21 15:54:19 +02:00
Oliver b8bb0f928f Grid offset handling was buggy. Fixes #279 2019-07-17 18:46:45 +02:00
Oliver f63eca142c List changed event was not fired when SetCurrentItem() was called. Fixes #315 2019-07-11 11:37:27 +01:00
Oliver 0e689965bb Fixed wrong handling of 8-bit ANSI colors. Fixes #317 2019-07-11 11:30:32 +01:00
Oliver fc28d646d0 Primitive widths/heights should not become negative. Also fixed a
TextView issue where purging led to panics. Fixes #306
2019-07-09 14:04:41 +01:00
Oliver c3d1d4bcf9 Added autocomplete functionality to InputField. Resolves #299, resolves #77 2019-07-08 09:34:06 +01:00
Oliver c0e09651e4 More specific definition of punctuation characters at which WordWrap() breaks. Fixes #295 2019-07-05 11:49:22 +01:00
rivo 4679c7790c
Merge pull request #291 from mikeschinkel/adddropdown_init
Fix initialization bug in AddDropDown(), fixes #290.
2019-07-05 11:34:45 +01:00
Oliver 95de965571 Selection bar in DropDown stretches entire width now. Also added SetTextOptions() with prefixes/suffixes etc. Resolves #289 2019-07-05 10:48:25 +01:00
ajcarvajal e4b4b7fe82 formatting fixes 2019-06-30 14:44:17 -08:00
ajcarvajal acab75bc50 Merge branch 'master' of https://github.com/rivo/tview 2019-06-29 18:11:15 -08:00
ajcarvajal 49350e374a make textview1 example sleep when inactive 2019-06-29 18:03:04 -08:00
Oliver 17ae691817 Reimplemented the WordWrap() function. Fixes #251 2019-06-29 20:45:09 +01:00
rivo 2e907d29e4
Merge pull request #308 from ollien/fix-row-count
Don't throw away nodes after drawing
2019-06-26 15:39:40 +02:00
Oliver e3f6263a37 Added a page count getter to Pages. Resolves #310 2019-06-26 15:31:22 +02:00
Nick Krichevsky a186f0a909
Don't throw away nodes after drawing TreeView
Relates to #283
2019-06-15 22:27:48 -04:00
Oliver b62197ade4 Added GetScrollOffset() and GetRowCount() to TreeView. Resolves #283 2019-06-09 18:25:13 +02:00
Mike Schinkel 87c5125144 Add GetTitle() method to Box. 2019-06-04 17:14:24 -04:00
Mike Schinkel c2c3679add Fix initialization bug in AddDropDown(), issue #290. 2019-06-03 20:40:09 -04:00
Oliver 384f577a62 Added SetFocus() to Form which changes the focus to a specific form element. Resolves #286 2019-06-02 21:31:59 +02:00