Commit Graph

61 Commits (c9421b4bd92748eb5de43119ea70f27c56c5847e)

Author SHA1 Message Date
Oliver c9421b4bd9 Enabled bracketed pasting. 4 months ago
Oliver 1b91b8131c Fixed excess calls to the "changed" callback in InputField and TextArea. Fixes #908 7 months ago
Oliver 8b7bcf9883 InputField is now based on TextArea. 8 months ago
Oliver 7344139b55 Finished new parser implementation. 10 months ago
Oliver caea67a4ef Implemented string parser and migrated all widgets but TextView. 10 months ago
Oliver 47b3275db4 Form elements can now also be disabled. Resolves #192 1 year ago
Oliver 807cb4dd91 Hiding autocomplete drop-down upon blur. Fixes #792 1 year ago
Oliver b86a50a512 Added more control to the input field's autocomplete functionality. Also fixed mouse handling bugs. 1 year ago
Oliver ed3ea789e9 Text area can now be added to forms. See #594 2 years ago
Oliver 55965cf21d Replaced mattn/go-runewidth string width calculation with rivo/uniseg for improved character display. 2 years ago
Oliver cecb44578c Setting focus is now based on a "mouse down" event instead of a "click" event. 2 years ago
Oliver ac1f564949 Implemented basic text area printing. 2 years ago
Oliver 944aeedb7d Added methods to modify the styles of the autocomplete drop-down. Resolves #671, resolves #672 2 years ago
Oliver badfa0f0b3 Merge branch 'master' of github.com:rivo/tview 3 years ago
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. 3 years ago
codesoap 6fc9eae6db Fix typo "SetPlaceholderStyle" in comment for GetPlaceholderStyle 3 years ago
Oliver 2c1d4e4d73 Replaced colors with styles in InputField, updates #611, #644 3 years ago
Oliver 73a23207d2 Added more bash-like key bindings to InputField. Resolves #549 3 years ago
Oliver c818a0c789 Improved autocomplete handling, incuding proper handling of the Tab key. Resolves #546 3 years ago
Oliver 675ed5b96b Removed Focusable interface. 4 years ago
Oliver e4d167311d Upgraded to latest tcell version. Results in a minor incompatibility in the Table class. 4 years ago
Oliver 42866ecf6c Selected autocomplete items should be used without colour tags. Fixes #472 4 years ago
Oliver e352ec0156 Fixed mouse/keyboard input issues with input fields and forms. Fixes #363 4 years ago
Oliver 9af6826328 Added/fixed comments, some structural changes/bugfixes for mouse support. Table, TextView, and TreeView still open. Closes #363 4 years ago
Chris Miller 1fb9862c00 Separate action events 4 years ago
Chris Miller 8abbf770ec Change mouse handler func 4 years ago
Chris Miller 9598ca2519 New mouse design
capture bool not finalized
4 years ago
Chris Miller cd3c60e6d1 Refactor EventMouse 5 years ago
Chris Miller 93c0edc4a8 Get mouse actions rather than just mouse state 5 years ago
Chris Miller d7250288e2 More mouse handling for primitives 5 years ago
Oliver c3d1d4bcf9 Added autocomplete functionality to InputField. Resolves #299, resolves #77 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
Delaney Gillilan a38d2cdc9b fix per @jr81 6 years ago
Oliver ec12437564 InputField cursor position must also be adjusted when SetText() is called. Fixes #180 6 years ago
Oliver 61a4cf388a Another fix for InputField. Fixes #176, resolves #177 6 years ago
Oliver 60a1c63fa9 Accepting non-alt-mod keys as characters in InputField if they don't have a function. Fixes #176 (hopefully) 6 years ago
Oliver 990bc2ebcf InputField can now be navigated freely. Resolves #103, resolves #171, resolves #162 6 years ago
Oliver 213c37c368 Fixed handling of combining unicode characters. Fixes #101 6 years ago
Oliver f855bee020 Separated form item "done" function from "finished" function. Resolves #39 6 years ago
Oliver 5bd22542e5 For Form.GetFormItemByLabel() to work, we must not modify the label text. Fixes #94, fixes #99 6 years ago
Oliver 761e3d72da Added Primitive demo to go along with the GitHub Wiki entry on how to create your own primitive. 6 years ago
Oliver 370ee01609 Added placeholder text to InputField. Resolves #75 6 years ago
Oliver 4db30f9ed4 "FieldLength" is now "FieldWidth" everywhere for clarity and consistency. Sorry for this breaking change. It is better in the long run. 6 years ago
Oliver 258f212e5e Added color tag functionality to all strings. Resolves #25 6 years ago
Oliver aa25839cfa Introduced horizontal item alignment in forms. Resolves #33 6 years ago
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 6 years ago
Oliver 5f33d0cbc0 Some adaptations for 32-bit systems. Resolves #17 7 years ago
Oliver d6ce974e6d Added masking to InputField, password field to form. Resolves #7, resolves #8. 7 years ago
Oliver 61d8ea30f8 Added support for wide unicode characters (e.g. Chinese). Resolves #9 7 years ago