Commit Graph

866 Commits

Author SHA1 Message Date
Jakub Sobon bb95f538ca Merge branch 'devel' into 243-form-demo 2020-11-27 15:13:32 -05:00
Jakub Sobon 31c7a24041
Button now supports separate color values for text chunks.
Custom color values can be specified for each of its main states.
2020-11-27 15:11:59 -05:00
Jakub Sobon cf9554ae9f
Renaming WriteOptions to TextOptions. 2020-11-25 10:16:51 -05:00
Jakub Sobon 0643120697
Button's support for cell options on each text cell. 2020-11-25 02:28:05 -05:00
Jakub Sobon 73644716a5
Button can be drawn without horizontal padding around its text. 2020-11-25 01:44:50 -05:00
Jakub Sobon ce3adfb084
Button can be drawn without the shadow and animation. 2020-11-25 01:24:38 -05:00
Jakub Sobon 1925141c66
Updating CHANGELOG. 2020-11-24 23:03:28 -05:00
Jakub Sobon 3a0d044a4d
Allow button to specify multiple trigger keys. 2020-11-24 23:02:21 -05:00
Jakub Sobon 891a672716
WIP: Button can be configured to accept multiple keys as triggers. 2020-11-24 20:30:58 -05:00
Jakub Sobon 4356b6f23b
Merge pull request #271 from mum4k/243-key-based-focus
Improving comments and readability nits.
2020-11-24 20:07:13 -05:00
Jakub Sobon bd1a2ef7a3
Improving comments. 2020-11-24 19:48:35 -05:00
Jakub Sobon 42af42e991
Merge pull request #270 from mum4k/243-key-based-focus
Ability to move focus using keyboard.
2020-11-24 19:48:32 -05:00
Jakub Sobon ff431b782d
e2e test cases for keyboard based focus changes. 2020-11-24 15:19:14 -05:00
Jakub Sobon 765556fe8e
faketerm diff: only print cells with differences. 2020-11-24 15:18:50 -05:00
Jakub Sobon e4edc8f15a
Ability to focus the previous container using keyboard. 2020-11-24 14:24:08 -05:00
Jakub Sobon 1fd4b044cf
Clarifying the meaning of DFS. 2020-11-23 22:44:28 -05:00
Jakub Sobon e8565e739d
Correcting documentation for the new options. 2020-11-23 22:42:29 -05:00
Jakub Sobon 0b94ed0f7c
Updating CHANGELOG. 2020-11-23 22:35:08 -05:00
Jakub Sobon 0771a92dc2
Ability to move focus to the next container using a key. 2020-11-23 22:33:24 -05:00
Jakub Sobon 289e1dd004
Merge pull request #267 from fgksgf/api
Design APIs of the HeatMap widget
2020-11-23 13:37:08 -05:00
Hoshea 283801e4ed Rename AxisWith to axisWith and add comments 2020-11-23 15:35:15 +08:00
Hoshea b7a73f0d40 dev 2020-11-23 10:57:07 +08:00
Hoshea f5dc3335b3 dev 2020-11-20 20:17:24 +08:00
Hoshea 2ac3bc52a4 dev 2020-11-19 21:31:59 +08:00
Hoshea e5e6097bdf Update comments 2020-11-18 17:22:49 +08:00
Hoshea 65debbb18f Design APIs of the HeatMap widget 2020-11-18 16:01:09 +08:00
Jakub Sobon fbd21e7904
Merge pull request #266 from mum4k/release-0-13
Releasing Termdash v0.13.
2020-11-17 23:30:43 -05:00
Jakub Sobon 2fc684fc4c
Updating CHANGELOG for the release. 2020-11-17 23:24:05 -05:00
Jakub Sobon 66b5c11ef2
Merge pull request #264 from dyc3/more-font-attrs
add remaining font modifiers: strikethrough, inverse, blink
2020-11-17 14:50:29 -05:00
Carson McManus 93ddcf4615 fix font modifiers test coverage and style nitpicks 2020-11-17 08:33:36 -05:00
Hoshea 29d7e65c6a dev 2020-11-17 21:19:50 +08:00
Hoshea 8072326b23 dev 2020-11-17 17:36:54 +08:00
Hoshea c0f1cfdc12 first commit 2020-11-17 17:36:54 +08:00
Carson McManus 4946857fbd add tests for additional font modifiers 2020-11-16 00:49:21 -05:00
Carson McManus eea25385e4 add remaining font modifiers: strikethrough, inverse, blink 2020-11-16 00:45:21 -05:00
Jakub Sobon add3cff474
Merge pull request #260 from dyc3/tcell-2.x-upgrade
Upgrade tcell to v2.x
2020-11-15 23:09:43 -05:00
Carson McManus 0256bf1f22 fix typo in changelog 2020-11-15 15:18:39 -05:00
Carson McManus 66d9d498b2 explicitly name import "tcell" 2020-11-15 15:18:32 -05:00
Carson McManus 685c0af26f
Merge pull request #1 from mum4k/dyc3-tcell-2.x-upgrade-color-fix
Fixing color setting for `tcell`.
2020-11-15 00:24:07 -05:00
Jakub Sobon 41375b8935
Translating colors for backward compatibility with termbox-go. 2020-11-14 23:35:12 -05:00
Jakub Sobon 0efc4a21a3
Updating CHANGELOG. 2020-11-14 23:30:10 -05:00
Jakub Sobon b4d53c1f6c
Removing commented-out code. 2020-11-14 23:25:58 -05:00
Jakub Sobon 503c0ada52
Fixing color setting for `tcell`.
Our tcell library incorrectly referenced tcell color values rather than
just names. The values aren't part of the public API and did change with
the update to v2.

This commit switches our tcell library to using the public constants
exported by the `tcell` project.

Also aligning our color definition of the first 16 colors with `tcell`
and Xterm. Adding two additional colors to make this change backward
compatible with `termbox-go`.
2020-11-14 23:21:07 -05:00
“Carson 4d320e3f2e upgrade tcell to v2.x 2020-11-14 16:47:55 -05:00
Jakub Sobon 8ac4a9b946
Added a missing period. 2020-11-14 02:51:50 -05:00
Jakub Sobon 1b9b13d5dc
Merge pull request #259 from mum4k/termdashdemo-bugfix
Fix a bug where segment display text appears to be jumping.
2020-11-14 02:49:55 -05:00
Jakub Sobon ed4d5305f5
Merge branch 'devel' into termdashdemo-bugfix 2020-11-14 02:41:04 -05:00
Jakub Sobon 0f1d104694
Merge pull request #258 from mum4k/tcell-default
Making tcell the default in all demos and examples.
2020-11-14 02:40:27 -05:00
Jakub Sobon cb74a04eac
Removing variable that wasn't needed. 2020-11-14 02:30:50 -05:00
Jakub Sobon 034007e85f
Renaming `tbx` to `t` to fix compilation errors. 2020-11-14 02:29:09 -05:00