1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-27 13:48:49 +08:00

281 Commits

Author SHA1 Message Date
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
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
Jakub Sobon
79f696a100
Fixing a golint error. 2020-11-28 14:16:36 -05:00
Jakub Sobon
9da89424ee
Button can now be triggered by different global and focused keys. 2020-11-28 14:11:21 -05:00
Jakub Sobon
93438e3ef9
Moving formdemo out of this branch. 2020-11-28 13:31:47 -05:00
Jakub Sobon
de41768dbc
Merge branch 'devel' into 243-form-demo 2020-11-28 00:06:14 -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
3a0d044a4d
Allow button to specify multiple trigger keys. 2020-11-24 23:02:21 -05:00
Jakub Sobon
dd6acb15e1
Give metadata about events to widgets. 2020-11-24 22:03:58 -05:00
Jakub Sobon
891a672716
WIP: Button can be configured to accept multiple keys as triggers. 2020-11-24 20:30:58 -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
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
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
b883d8b02f
Addressing some lint issues. 2020-11-14 00:44:45 -05:00
Jakub Sobon
9719c5f17a
Merge pull request #251 from dyc3/font-modifiers
add font modifier cell options: bold, italic, underline.
2020-11-14 00:06:56 -05:00
Jakub Sobon
b2c182063b
Formatting files and adding test coverage. 2020-11-13 02:29:25 -05:00
“Carson
50310f4d29 add font modifier cell options: bold, italic, underline. 2020-11-12 15:54:58 -05:00
dank
c3220f04f1
added the ability to change the scrolling runes 2020-10-13 00:42:25 -04:00
dank
8a316e6c1b
added the ability to swap the scrolling runes 2020-10-13 00:40:58 -04:00
Jakub Sobon
6f8d56b3c6
Fixing typo in a comment. 2020-07-15 09:54:19 -04:00
Jakub Sobon
06eb7623bd
Modifying imports 'internal' -> 'private'. 2020-04-10 15:26:45 -04:00
Jakub Sobon
0b75d06a3f
Improving test coverage of the Gauge widget. 2020-03-07 10:10:09 -05:00
Jakub Sobon
91ae185022
Merge pull request #212 from donaldww/master
Change MaxUint32 to MaxInt32 in scroll.go
2019-05-21 16:04:50 -04:00
Donald Wilson
ceea79f7ce Change MaxUint32 to MaxInt32
This change was implemented to address the following message, reported by the raspberry pi golang compiler (v1.12):

/home/pi/go/pkg/mod/github.com/mum4k/termdash@v0.9.0/widgets/text/scroll.go:119:29: constant 4294967295 overflows int
2019-05-21 05:20:19 -04:00
Jakub Sobon
5c94e7ca53 Merge branch 'devel' of ssh://github.com/mum4k/termdash into devel 2019-05-15 23:24:46 -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
Xabier Larrakoetxea
79ede36653
Use strings.Replace instead strings.ReplaceAll to have support for go >=1.10
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-08 05:50:57 +02:00
Xabier Larrakoetxea
bef8ea3773
Merge remote-tracking branch 'upstream/devel' into y-axis-label-formatter 2019-05-06 07:58:28 +02:00
Xabier Larrakoetxea
a5c7363f43
Add round and suffix based value formatter for the Y-axis label representation
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-06 07:56:04 +02:00
Xabier Larrakoetxea
38f40428a1
Move time duration value formatter NaN check
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-05 10:27:48 +02:00
Xabier Larrakoetxea
7d5c78059c
Rename linechart value formatters and check more corner cases
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-05 10:07:15 +02:00
Xabier Larrakoetxea
059c72807f
Add single unit duration value formatter for the Y-axis
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-04 11:06:08 +02:00
Xabier Larrakoetxea
150b7e26e2
Allow empty Y-axis labels on linechart using a value formatter that returns empty strings
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-04 08:08:55 +02:00
Xabier Larrakoetxea
e152366a5c
Fix comment
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-04 08:07:33 +02:00
Xabier Larrakoetxea
b0f8079a94
Add linechart custom formatter testcases for long strings, non-printable characters and unicode value formatter results
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com>
2019-05-03 07:18:49 +02:00