Commit Graph

304 Commits (894dc0868ea12f479723b45087b4ef7dd83dce9c)
 

Author SHA1 Message Date
Trevor Slocum 894dc0868e Add ProgressBar widget 4 years ago
Oliver 1316ea7a4b ANSI parser now also handles SGR 39 and 49. Fixes #347 5 years ago
Oliver 5bbae91e1e Fixed off-by-one error in TextView which led to line-trailing tags be moved to the next line. Fixes #336 5 years ago
Oliver c6236f4421 Merge branch 'master' of github.com:rivo/tview 5 years ago
Oliver c5f3e4f883 Added GetFocusedItemIndex() to Form. Resolves #293 5 years ago
rivo 1ee8d9874d
Merge pull request #292 from mikeschinkel/box_gettitle
Added a GetTitle() method to Box
5 years ago
Oliver 6e00e540f2 Added a wrap-around flag to the List. Resolves #380 5 years ago
Oliver 82b05c9fb3 Grid's background box is transparent again. Fixes #359 5 years ago
Oliver 9c225ecd57 Added GetFormItemCount() to Form. Resolves #298 5 years ago
Oliver c1775d4e31 Added a clarifying note to the contributing guidelines. 5 years ago
Oliver 0f6549646b Added SetFocus() to Modal, focuses on the provided button. Resolves #364 5 years ago
Oliver 2d957c4be0 Added an "evaluate all rows" flag to Table. Resolves #345 5 years ago
Oliver 685bf6da76 Added GetFrontPage() to Pages. Resolves #355 5 years ago
Oliver 731cb7162a Updated dependencies. Resolves #354 5 years ago
Oliver bacbf5155b Wrong comparator led to wrong scrolling behaviour. Fixes #341, resolves #342 5 years ago
Oliver c35e6b2b4c Avoiding infinite loop on narrow TextViews. Fixes #333 5 years ago
Oliver de7ae86b5b Avoid div-by-0 in case Flex item sizes are all 0. Resolves #332, resolves #334 5 years ago
Oliver f8bc69b903 Every redraw of a Form re-evaluates the focus index. Fixes #144 5 years ago
Oliver 23dc8a0944 Table.Select() also triggers "selection changed" event. Fixes #323 5 years ago
Oliver b8bb0f928f Grid offset handling was buggy. Fixes #279 5 years ago
Oliver f63eca142c List changed event was not fired when SetCurrentItem() was called. Fixes #315 5 years ago
Oliver 0e689965bb Fixed wrong handling of 8-bit ANSI colors. Fixes #317 5 years ago
Oliver fc28d646d0 Primitive widths/heights should not become negative. Also fixed a
TextView issue where purging led to panics. Fixes #306
5 years ago
Oliver c3d1d4bcf9 Added autocomplete functionality to InputField. Resolves #299, resolves #77 5 years ago
Oliver c0e09651e4 More specific definition of punctuation characters at which WordWrap() breaks. Fixes #295 5 years ago
rivo 4679c7790c
Merge pull request #291 from mikeschinkel/adddropdown_init
Fix initialization bug in AddDropDown(), fixes #290.
5 years ago
Oliver 95de965571 Selection bar in DropDown stretches entire width now. Also added SetTextOptions() with prefixes/suffixes etc. Resolves #289 5 years ago
Oliver 17ae691817 Reimplemented the WordWrap() function. Fixes #251 5 years ago
rivo 2e907d29e4
Merge pull request #308 from ollien/fix-row-count
Don't throw away nodes after drawing
5 years ago
Oliver e3f6263a37 Added a page count getter to Pages. Resolves #310 5 years ago
Nick Krichevsky a186f0a909
Don't throw away nodes after drawing TreeView
Relates to #283
5 years ago
Oliver b62197ade4 Added GetScrollOffset() and GetRowCount() to TreeView. Resolves #283 5 years ago
Mike Schinkel 87c5125144 Add GetTitle() method to Box. 5 years ago
Mike Schinkel c2c3679add Fix initialization bug in AddDropDown(), issue #290. 5 years ago
Oliver 384f577a62 Added SetFocus() to Form which changes the focus to a specific form element. Resolves #286 5 years ago
Oliver 29b0d3cfbf Updated table demo screenshot. Resolves #282 5 years ago
Oliver bd836ef13b Added new guidelines for PR's. 5 years ago
rivo cf9d115173
Merge pull request #269 from wedaly/master
Add functions to set background color, button text, and button background color on modal.
5 years ago
Oliver 7cc6943d5a Space will also select a node in a TreeView. Resolves #280 5 years ago
Oliver d14da4f46f Bugfix in Grid which mistakenly compared grid item size to resolve conflicts. Fixes #277 5 years ago
Oliver 3c477cc248 TextView.ScrollTo() will turn off end-tracking. Fixes #274 5 years ago
Oliver f16ba37c6a Added functions to remove all buttons from forms and from modals. Resolves #259 5 years ago
Oliver f2bf2be1ba Bugfix in TreeView which may have caused an index out of range. Fixes #262 (hopefully) 5 years ago
Oliver 7a653a04b3 Package now uses go modules. 5 years ago
Will Daly 743e3fe55d Add functions to set background color, button text, and button background color on modal 5 years ago
Oliver 90b4da1bd6 Fixed empty pages when the only visible page was removed. Fixes #250 5 years ago
Oliver 9d616aee87 DropDown's SetCurrentOption() will also trigger the selected event. Closes #256, resolves #260 5 years ago
Oliver 8a9e26fab0 Hitting the Alt-key should not prevent input. Fixes #240 5 years ago
Oliver 8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 5 years ago
Oliver 2cc825800b Switched string iteration to using the github.com/rivo/uniseg package. 5 years ago