2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-17 03:26:09 +00:00
Commit Graph

32 Commits

Author SHA1 Message Date
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
Oliver
f63eca142c List changed event was not fired when SetCurrentItem() was called. Fixes #315 2019-07-11 11:37:27 +01:00
Oliver
8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 2019-03-19 12:13:40 +01:00
Oliver
03d744dee3 SetOffset() also turns off end-tracking in Table. Fixes #238 2019-03-08 20:13:09 +01:00
ardnew
c43d107310 merge https://github.com/rivo/tview into list-spanhighlight, resolving conflicts for rivo/tview#220 2019-02-20 11:06:48 -06:00
ardnew
26ff9c763a renaming new struct field as requested in rivo/tview#220 2019-02-20 10:58:59 -06:00
Oliver
84fdb36408 Fixed confusing comments. Fixes #231 2019-01-24 13:01:53 +01:00
Oliver
0a179573ae Improved List scrolling (using an offset member variable). Fixes #217 2019-01-23 21:40:01 +01:00
Oliver
bbe0f17f96 Added FindItems() and InsertItem() to List. Also allowed negative indices for some List functions. Resolves #213, resolves #215 2019-01-12 21:22:58 +01:00
ardnew
e0f6e89550 change: added option to span selection highlight across width of list view 2019-01-03 00:51:11 -06:00
Oliver
08411f6e81 Added an option to List which hides the selection when List has no focus. Resolves #193 2018-11-26 11:00:48 +01:00
Oliver
2590cd6434 Added RemoveItem() function to List. Resolves #158 2018-09-05 12:57:35 +02:00
Oliver
7afc7ac893 Index out of range bugfix. Fixes #101 2018-05-18 23:46:33 +02:00
Rob Warner
2899c719ca Fix panic with empty list 2018-05-09 18:13:40 -04:00
Oliver
f291602d9a Added functions to retrieve and set a list item's texts. Resolves #102 2018-04-19 21:17:13 +02:00
Oliver
761e3d72da Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive. 2018-03-19 21:25:30 +01:00
Oliver
b357eaf10f Drop-down allows typing to directly jump to options. Resolves #77 2018-03-18 20:42:51 +01:00
Oliver
7e4958256f List (and therefore also DropDown) will scroll if currently selected item is not on screen anymore. Fixes #71 2018-03-11 09:51:15 +01:00
Oliver
4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 2018-01-17 21:17:59 +01:00
Oliver
258f212e5e Added color tag functionality to all strings. Resolves #25 2018-01-17 17:13:36 +01:00
Oliver
626453b2a6 All primitives now offer a way to intercept all key events sent to them. Also made the global key event intercept handler more general/consistent. Resolves #22 2018-01-14 21:29:34 +01:00
Oliver
61d8ea30f8 Added support for wide unicode characters (e.g. Chinese). Resolves #9 2018-01-11 15:45:52 +01:00
Oliver
2874294d89 Added Styles variable with default colors for primitives. 2018-01-10 09:44:21 +01:00
Oliver
e4f97a6436 Added links to Wiki to documentation. Also replaced screenshot with GIF screencast. 2018-01-07 16:39:06 +01:00
Oliver
7b5ab63e8c List selections should be visible even when they don't have focus. Also added screenshot for Postgres demo. 2018-01-07 14:37:41 +01:00
Oliver
997b92f1b4 More callback handlers for lists. And more consistency. 2018-01-01 17:17:20 +01:00
Oliver
7dc0dace25 Improved table navigation. 2017-12-29 22:27:10 +01:00
Oliver
8f59d491ee Added Table primitive. Still ironing out some minor issues. 2017-12-26 01:07:30 +01:00
Oliver
8eb4c5ef48 Added TextView. All subclasses of Box now also have inside padding. 2017-12-21 18:08:53 +01:00
Oliver
2bd80aa513 Added DropDown. Also needed to refactor a bit to reduce dependencies. 2017-12-18 20:04:52 +01:00
Oliver
d5bf1a4ef0 Added list, improved existing primitives, and fixed a bunch of bugs. 2017-12-16 22:48:26 +01:00