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

30 Commits

Author SHA1 Message Date
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
d7250288e2 More mouse handling for primitives 2019-11-04 06:30:25 +00:00
Oliver
c3d1d4bcf9 Added autocomplete functionality to InputField. Resolves #299, resolves #77 2019-07-08 09:34:06 +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
Oliver
9d616aee87 DropDown's SetCurrentOption() will also trigger the selected event. Closes #256, resolves #260 2019-04-05 23:20:22 +02:00
Oliver
8d5eba0c2f Replaced runewidth.StringWidth() with my own implementation. Fixes #236 2019-03-19 12:13:40 +01:00
Oliver
997b18eeff Introduced a separate class-wide "selected" handler for DropDown. Resolves #206 2019-01-23 16:51:16 +01:00
Oliver
768070ef7b Hitting Escape on a drop-down selection resets it. 2018-07-19 12:46:48 +02:00
Oliver
7d789421e3 DropDown now only uses List's main selected callback. Fixes #115 2018-05-12 16:35:32 +02:00
Oliver
f855bee020 Separated form item "done" function from "finished" function. Resolves #39 2018-04-19 21:34:03 +02:00
Oliver
5bd22542e5 For Form.GetFormItemByLabel() to work, we must not modify the label text. Fixes #94, fixes #99 2018-04-09 21:07:03 +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
2a83b20ce3 Improved documentation. 2018-01-24 21:48:53 +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
aa25839cfa Introduced horizontal item alignment in forms. Resolves #33 2018-01-16 20:45:54 +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
3fbea7a99b Added a listener for changes in input fields. Also in the Form. Fixes #4. 2018-01-10 10:40:51 +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
997b92f1b4 More callback handlers for lists. And more consistency. 2018-01-01 17:17:20 +01:00
Oliver
9659be0e90 No need to explicitly hide the cursor in no-cursor primitives. 2017-12-28 22:19:36 +01:00
Oliver
8eb4c5ef48 Added TextView. All subclasses of Box now also have inside padding. 2017-12-21 18:08:53 +01:00
Oliver
dad7891c89 Added Checkbox, Modal, and Pages. 2017-12-20 20:54:49 +01:00
Oliver
2bd80aa513 Added DropDown. Also needed to refactor a bit to reduce dependencies. 2017-12-18 20:04:52 +01:00