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

12 Commits

Author SHA1 Message Date
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
4beaac9cca
Stub out tcell.NewScreen so tests can pass headless. 2020-06-20 14:00:05 -04:00
Jakub Sobon
06eb7623bd
Modifying imports 'internal' -> 'private'. 2020-04-10 15:26:45 -04:00
kvnxiao
95f5fe8fc9 Fix default clear style to use ColorDefault 2020-03-01 02:14:30 -05:00
kvnxiao
be7995369c Fix mouse button logic and tests 2020-03-01 01:54:36 -05:00
kvnxiao
1e970dcacd Return nil for non-termdash events 2020-03-01 01:14:37 -05:00
kvnxiao
3fdaf659f2 Use tcell screen.Fill() to clear screen 2020-02-29 17:21:55 -05:00
kvnxiao
67c22d9015 Add license headers 2020-02-29 02:15:23 -05:00
kvnxiao
f01148c8fd Add color mode and clear style colors 2020-02-29 02:02:05 -05:00
kvnxiao
facb0e6743 Add missing comment 2020-02-29 02:02:05 -05:00
kvnxiao
b23d99cd8d Add tcell dependency as another terminal backend 2020-02-29 02:02:05 -05:00