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

27 Commits

Author SHA1 Message Date
Jakub Sobon
5dd1aff803
Advancing to Go1.10.
- switching to math.Round and deleting out clone.
- switching all bytes.Buffer instances to strings.Builder.
2019-04-18 22:55:05 -04:00
Jakub Sobon
2de4a9a865
SegmentDisplay now reports its capacity. 2019-04-06 23:57:22 -04:00
Jakub Sobon
10d4a55348
Provide metadata to widgets when drawing. 2019-04-03 23:13:18 -04:00
Jakub Sobon
68fb7606d9
Prevent external mutation of data passed into widgets.
Fixes #174.
2019-03-20 23:20:16 -04:00
Jakub Sobon
b020770733
Moving widgetapi out of internal.
This will allow external users to develop their own widgets.
2019-03-02 22:00:07 -05:00
Jakub Sobon
0938ae91d8
Refactoring internal functions from align to internal/alignfor. 2019-02-24 15:44:13 -05:00
Jakub Sobon
e4726e4240
Changing all call sites to linestyle. 2019-02-24 01:51:50 -05:00
Jakub Sobon
b74f46509b
Moving runewidth, segdisp and testdraw to internal. 2019-02-24 01:27:17 -05:00
Jakub Sobon
bf61ca1479
Moving draw out of internal. 2019-02-24 01:20:03 -05:00
Jakub Sobon
97ec73069f
Moving align, cell and terminalapi back from internal. 2019-02-24 01:13:26 -05:00
Jakub Sobon
8df9e3307c
Moving faketerm to internal. 2019-02-24 01:09:23 -05:00
Jakub Sobon
bf38f10d25
Moving terminal back to public. 2019-02-24 01:04:57 -05:00
Jakub Sobon
5ac468c10a
Moving terminal, terminalapi and widgetapi to internal subdirectory.
And adding a README under internal.
2019-02-23 21:19:16 -05:00
Jakub Sobon
6c03991fb9
Moving draw and event to internal. 2019-02-23 21:10:51 -05:00
Jakub Sobon
7ee222ac58
Moving private libraries into internal subdirectory. 2019-02-23 21:09:38 -05:00
Jakub Sobon
0490734d1e
Running gofmt. 2019-02-23 00:42:47 -05:00
Jakub Sobon
22946f2f65
Allowing widgets to select the scope for mouse events too. 2019-02-23 00:41:58 -05:00
Jakub Sobon
0df7387862
Widgets can now register for global keyboard events. 2019-02-22 00:33:55 -05:00
Jakub Sobon
c58217af9c
Adding image and doc entry for the segment display. 2019-02-06 23:18:56 -05:00
Jakub Sobon
3f416675e9
Improving the demo. 2019-02-06 01:03:39 -05:00
Jakub Sobon
166e9cc7dc
Improving the demo. 2019-02-06 00:59:36 -05:00
Jakub Sobon
eb8da5924e
Migrate segArea code to its own file. 2019-02-06 00:40:08 -05:00
Jakub Sobon
e80e1a1134
Support addition of gaps. 2019-02-06 00:29:14 -05:00
Jakub Sobon
858ce17ced
Drafted the segment display demo. 2019-02-05 00:17:25 -05:00
Jakub Sobon
8128e15747
Adding licences. 2019-02-05 00:05:54 -05:00
Jakub Sobon
35f11d3a5e
Implementing the segment display widget. 2019-02-05 00:05:31 -05:00
Jakub Sobon
f16bda1131
Skeleton for the segment display. 2019-02-03 23:57:32 -05:00