Commit Graph

931 Commits

Author SHA1 Message Date
Andreea Sobon f8470e7dfe Fix formatting issues. 2021-01-04 12:34:23 -05:00
Andreea Sobon 22ae449020 Support setting of different colors for container's border and title. 2021-01-04 12:20:40 -05:00
Jakub Sobon f4b0d03624
Update CHANGELOG.md 2020-12-30 23:40:17 -05:00
Jakub Sobon 24ed30f1d9
Merge pull request #289 from mum4k/dependabot/go_modules/devel/github.com/gdamore/tcell/v2-2.1.0
Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.1.0
2020-12-30 23:39:28 -05:00
dependabot[bot] d8a476ec57
Bump github.com/gdamore/tcell/v2 from 2.0.0 to 2.1.0
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.adoc)
- [Commits](https://github.com/gdamore/tcell/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-30 07:55:34 +00:00
Jakub Sobon 74d9de20cb
Create dependabot.yml 2020-12-30 02:54:55 -05:00
Jakub Sobon d2b202a0d3
Merge pull request #288 from mum4k/release-0-14
Releasing Termdash v0.14.
2020-12-30 02:37:18 -05:00
Jakub Sobon 54c48db8f6
Releasing Termdash v0.14. 2020-12-30 02:27:40 -05:00
Jakub Sobon b14a8445b8
Merge pull request #287 from mum4k/243-formdemo
A demonstration of text input form functionality with keyboard navigation.
2020-12-30 02:27:11 -05:00
Jakub Sobon bfd476bd75
Correcting `go run` commands in README. 2020-12-30 02:18:41 -05:00
Jakub Sobon e396a0ede1
Adjusting width of the recorded demo. 2020-12-30 02:14:01 -05:00
Jakub Sobon 5ba573cd74
Moving formdemo under widgets/textinput. 2020-12-30 02:12:37 -05:00
Jakub Sobon 75518b5938
Adding recording of formdemo. 2020-12-30 02:11:37 -05:00
Jakub Sobon c3be258da0
Self-review. 2020-12-30 00:59:39 -05:00
Jakub Sobon ba6224f5ae
Complete demo of a text input form with keyboard navigation. 2020-12-30 00:54:50 -05:00
Jakub Sobon 9a730ded80
Merge pull request #286 from mum4k/243-button-set-callback
Allow updating the callback function on an existing button instance.
2020-12-30 00:28:57 -05:00
Jakub Sobon d30bc47245 Merge branch 'devel' into 243-formdemo 2020-12-30 00:27:32 -05:00
Jakub Sobon 93428e8091
Allow a no-op button with a nil callback. 2020-12-30 00:22:36 -05:00
Jakub Sobon d70bcd1afb
Allow updating the callback function on an existing button instance. 2020-12-30 00:10:55 -05:00
Jakub Sobon fe052262d0
Refactor form construction. 2020-12-29 23:56:11 -05:00
Jakub Sobon b91eac380d
Formdemo now displays default text in the input boxes. 2020-12-28 03:54:36 -05:00
Jakub Sobon cd7782f3b1
Merge pull request #285 from mum4k/243-textinput_default_value
DefaultText option for textinput.
2020-12-28 03:49:46 -05:00
Jakub Sobon db2fcdcffc Merge branch 'devel' into 243-formdemo 2020-12-28 03:48:27 -05:00
Jakub Sobon 0912c9dbea
DefaultText option for textinput. 2020-12-28 03:41:52 -05:00
Jakub Sobon 0af5fbc606
Make the first input box focused by default. 2020-12-27 03:23:36 -05:00
Jakub Sobon 212b5a1040
Merge pull request #284 from mum4k/243-container_set_focus
Container option that sets the container as focused.
2020-12-27 03:21:37 -05:00
Jakub Sobon 37f7af1cc0 Merge branch 'devel' into 243-formdemo 2020-12-27 03:20:27 -05:00
Jakub Sobon bcd25c80e9
Fixing a grammar mistake in the CHANGELOG. 2020-12-27 03:10:43 -05:00
Jakub Sobon 7ac5acfd6b
Container option that sets the container as focused. 2020-12-27 03:08:57 -05:00
Jakub Sobon ea6a917908
Merge pull request #283 from mum4k/281-resize_bug
Termdash no longer crashes with tcell when terminal window downsizes.
2020-12-27 03:00:58 -05:00
Jakub Sobon 9360ffff49
Bugfix: avoid crash on terminal rezise with tcell. 2020-12-27 02:53:08 -05:00
Jakub Sobon 82e52ead85
Merge pull request #282 from mum4k/243-textinput_exclusive_keyboard
Textinput can request keyboard exclusively.
2020-12-27 02:26:41 -05:00
Jakub Sobon b392e157dd Merge branch 'devel' into 243-formdemo 2020-12-27 02:25:27 -05:00
Jakub Sobon 912de88b90
Textinput can request keyboard exclusively. 2020-12-27 02:19:38 -05:00
Jakub Sobon 6c387a4be7
Adding a demo demonstrating form input. 2020-12-27 02:18:22 -05:00
Jakub Sobon 42652429b4
Correcting text in container/options.go 2020-12-27 01:17:55 -05:00
Jakub Sobon b8af2c99cc
Merge pull request #280 from mum4k/243-closed-focus-groups
Support closed focus groups.
2020-12-27 01:18:20 -05:00
Jakub Sobon d227a23d1c
Updating CHANGELOG. 2020-12-27 01:03:12 -05:00
Jakub Sobon 5c68b72bbe
Test coverage for closed focus groups. 2020-12-27 01:00:42 -05:00
Jakub Sobon 69bc767fb5
Containers can now belong to multiple focus groups. 2020-12-07 02:14:11 -05:00
Jakub Sobon bfcc2972fa
Test verifying that KeyFocusSkip has no effect on focus groups. 2020-12-07 00:55:29 -05:00
Jakub Sobon c1f1c03e95
Basic test cases for closed focus groups. 2020-12-02 01:06:23 -05:00
Jakub Sobon 916354c855
Fixing a typo in function comments. 2020-11-29 23:28:43 -05:00
Jakub Sobon fe482ab6e6
Container options for focus group support. 2020-11-29 23:21:36 -05:00
Jakub Sobon ec92395f6d
Merge pull request #277 from mum4k/243-skip-global-focus
Containers can request to be skipped when focus is moved using keyboard keys.
2020-11-29 23:00:00 -05:00
Jakub Sobon 2f36dce2ed
Containers can request to be skipped when focus is moved using keyboard keys. 2020-11-29 22:38:43 -05:00
Jakub Sobon f07f4e8534
Improving focus tests.
The test cases can now use trees with any number of containers and have
a scalable way of referring to individual containers in the tree.
2020-11-28 14:57:53 -05:00
Jakub Sobon 09baa7d379
Merge pull request #276 from mum4k/243-button-improvements
Improving the button widget.
2020-11-28 14:44:27 -05:00
Jakub Sobon dc90197592
Added method comment. 2020-11-28 14:25:29 -05:00
Jakub Sobon ee90ac89dc
Code refactor and self-review. 2020-11-28 14:24:22 -05:00