Commit Graph

28 Commits

Author SHA1 Message Date
Jakub Sobon 5ba573cd74
Moving formdemo under widgets/textinput. 2020-12-30 02:12:37 -05:00
Jakub Sobon 0912c9dbea
DefaultText option for textinput. 2020-12-28 03:41:52 -05:00
Jakub Sobon 912de88b90
Textinput can request keyboard exclusively. 2020-12-27 02:19:38 -05:00
Jakub Sobon dd6acb15e1
Give metadata about events to widgets. 2020-11-24 22:03:58 -05:00
Jakub Sobon 3e476963e8
Changing Blue color in demos to a more readable shade. 2020-11-14 01:41:29 -05:00
Jakub Sobon 3cbd993521
Making tcell the default in all demos and examples. 2020-11-14 01:09:07 -05:00
Jakub Sobon 06eb7623bd
Modifying imports 'internal' -> 'private'. 2020-04-10 15:26:45 -04:00
Jakub Sobon 947b563927
Merge branch 'master' into devel 2019-05-15 23:24:34 -04:00
Jakub Sobon 6980f88810
Release widget's mutex before activating external callback.
Fixes #205.
2019-05-13 22:28:41 -04:00
Jakub Sobon 0ef875039b
Fixing lint issues found on Go report card. 2019-04-28 22:44:44 -04:00
Jakub Sobon d105df4413
Refactoring the Draw method for readability. 2019-04-27 01:58:37 -04:00
Jakub Sobon 304c59f211
Mouse support for the text input field. 2019-04-27 01:45:15 -04:00
Jakub Sobon 886f970586
Completing test coverage and most of the functionality.
Mouse support is outstanding.
2019-04-25 23:44:14 -04:00
Jakub Sobon 1df5298809
Test coverage for basic functionality of the text input field.
Tests without any input text for now.
2019-04-24 23:44:44 -04:00
Jakub Sobon c2f5326954
Polishing the editor code.
Some helper functions and better comments.
2019-04-22 23:46:36 -04:00
Jakub Sobon 22c89bc2a7
Finishing test coverage for the field editor. 2019-04-22 21:44:00 -04:00
Jakub Sobon 32c9c724f2
Enhancing the editor to correctly handle unicode. 2019-04-21 23:58:35 -04:00
Jakub Sobon e49a4438b1
Fixing lint issues. 2019-04-20 17:37:45 -04:00
Jakub Sobon c0c9727c80
Working proof-of-concept of the textinput field. 2019-04-20 17:33:23 -04:00
Jakub Sobon 23c4ced3b0
Function that splits canvas to parts for label and text input. 2019-04-20 00:50:46 -04:00
Jakub Sobon c890f0be5f
Editor can delete runes before the cursor. 2019-04-18 23:57:24 -04:00
Jakub Sobon 72989e7e39
Editor: support for insertion and scrolling. 2019-04-17 23:59:33 -04:00
Jakub Sobon b33c3d2eec
Logic that returns number of cells before and after. 2019-04-10 23:42:49 -04:00
Jakub Sobon beb37775b8
Intermediate commit. 2019-04-10 00:09:46 -04:00
Jakub Sobon 2e7d295af7
Planning out the editing algorithm. 2019-04-08 23:32:00 -04:00
Jakub Sobon 2cfaf25b9b
Initial functionality and tests for the field editor. 2019-04-07 23:31:41 -04:00
Jakub Sobon b031be6046
Adding a type that holds data in the text input field. 2019-04-07 22:37:28 -04:00
Jakub Sobon bf72b5ddc2
Skeleton of the TextInput widget. 2019-04-07 00:41:09 -04:00