aditya-K2
|
53a6ae3375
|
use fieldWidth instead of i.fieldWidth
using i.fieldWidth doesn't work when the fieldWidth is set to 0 or the
inputField is used in FlexBox.
|
2023-04-07 04:40:02 +05:30 |
|
aditya-K2
|
1ada6e5074
|
Added autocompleteMatchFieldWidth
if `autocompleteMatchFieldWidth` is set to true the width of the autocomplete list
matches the `fieldWidth` of the input field.
|
2023-04-07 04:08:43 +05:30 |
|
Oliver
|
47b3275db4
|
Form elements can now also be disabled. Resolves #192
|
2023-03-20 07:26:01 +01:00 |
|
Oliver
|
807cb4dd91
|
Hiding autocomplete drop-down upon blur. Fixes #792
|
2023-01-04 13:54:15 +01:00 |
|
Oliver
|
b86a50a512
|
Added more control to the input field's autocomplete functionality. Also fixed mouse handling bugs.
|
2022-12-29 19:07:33 +01:00 |
|
Oliver
|
ed3ea789e9
|
Text area can now be added to forms. See #594
|
2022-11-15 15:33:49 +01:00 |
|
Oliver
|
55965cf21d
|
Replaced mattn/go-runewidth string width calculation with rivo/uniseg for improved character display.
|
2022-09-11 21:02:40 +02:00 |
|
Oliver
|
cecb44578c
|
Setting focus is now based on a "mouse down" event instead of a "click" event.
|
2022-09-02 17:49:12 +02:00 |
|
Oliver
|
ac1f564949
|
Implemented basic text area printing.
|
2022-07-30 15:59:31 +01:00 |
|
Oliver
|
944aeedb7d
|
Added methods to modify the styles of the autocomplete drop-down. Resolves #671, resolves #672
|
2022-02-15 18:00:49 +01:00 |
|
Oliver
|
badfa0f0b3
|
Merge branch 'master' of github.com:rivo/tview
|
2021-11-09 18:56:20 +01:00 |
|
Oliver
|
b76656416e
|
Ignoring background colors of styles in InputField when set to ColorDefault. This makes it work when the primitive's background colour is not the default.
|
2021-11-09 18:56:15 +01:00 |
|
codesoap
|
6fc9eae6db
|
Fix typo "SetPlaceholderStyle" in comment for GetPlaceholderStyle
|
2021-11-09 17:26:30 +01:00 |
|
Oliver
|
2c1d4e4d73
|
Replaced colors with styles in InputField, updates #611, #644
|
2021-11-09 15:42:28 +01:00 |
|
Oliver
|
73a23207d2
|
Added more bash-like key bindings to InputField. Resolves #549
|
2021-02-17 09:38:35 +01:00 |
|
Oliver
|
c818a0c789
|
Improved autocomplete handling, incuding proper handling of the Tab key. Resolves #546
|
2021-01-11 19:45:19 +01:00 |
|
Oliver
|
675ed5b96b
|
Removed Focusable interface.
|
2020-11-17 19:33:25 +01: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 |
|
Oliver
|
42866ecf6c
|
Selected autocomplete items should be used without colour tags. Fixes #472
|
2020-09-15 13:45:12 +02:00 |
|
Oliver
|
e352ec0156
|
Fixed mouse/keyboard input issues with input fields and forms. Fixes #363
|
2020-04-14 15:03:31 +02: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 |
|
Chris Miller
|
1fb9862c00
|
Separate action events
|
2020-02-28 01:19:36 +00:00 |
|
Chris Miller
|
8abbf770ec
|
Change mouse handler func
|
2020-02-14 02:09:09 +00:00 |
|
Chris Miller
|
9598ca2519
|
New mouse design
capture bool not finalized
|
2020-01-24 20:40:34 +00: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
|
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
|
8a9e26fab0
|
Hitting the Alt-key should not prevent input. Fixes #240
|
2019-03-24 19:21:52 +01:00 |
|
Oliver
|
8d5eba0c2f
|
Replaced runewidth.StringWidth() with my own implementation. Fixes #236
|
2019-03-19 12:13:40 +01:00 |
|
Delaney Gillilan
|
a38d2cdc9b
|
fix per @jr81
|
2018-11-18 13:15:59 -08:00 |
|
Oliver
|
ec12437564
|
InputField cursor position must also be adjusted when SetText() is called. Fixes #180
|
2018-11-10 09:17:39 +01:00 |
|
Oliver
|
61a4cf388a
|
Another fix for InputField. Fixes #176, resolves #177
|
2018-11-05 11:09:49 +01:00 |
|
Oliver
|
60a1c63fa9
|
Accepting non-alt-mod keys as characters in InputField if they don't have a function. Fixes #176 (hopefully)
|
2018-10-29 17:30:58 +01:00 |
|
Oliver
|
990bc2ebcf
|
InputField can now be navigated freely. Resolves #103, resolves #171, resolves #162
|
2018-10-18 08:34:08 +02:00 |
|
Oliver
|
213c37c368
|
Fixed handling of combining unicode characters. Fixes #101
|
2018-05-03 08:05:11 +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
|
370ee01609
|
Added placeholder text to InputField. Resolves #75
|
2018-03-15 17:14:14 +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
|
5f33d0cbc0
|
Some adaptations for 32-bit systems. Resolves #17
|
2018-01-12 08:35:30 +01:00 |
|
Oliver
|
d6ce974e6d
|
Added masking to InputField, password field to form. Resolves #7, resolves #8.
|
2018-01-11 16:13:01 +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 |
|