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

68 Commits

Author SHA1 Message Date
Jakub Sobon
3cbd993521
Making tcell the default in all demos and examples. 2020-11-14 01:09:07 -05:00
Jakub Sobon
212ae2c343 Merge branch 'devel' into lint 2020-11-14 00:49:37 -05:00
Jakub Sobon
b883d8b02f
Addressing some lint issues. 2020-11-14 00:44:45 -05:00
Jakub Sobon
e5e1397ce9
Adding test coverage to cell options. 2020-11-14 00:39:44 -05:00
“Carson
53530e7dc1 add tests for font modifier cell options 2020-11-13 02:46:39 -05:00
“Carson
f501a14afa have the termbox backend return an error when attempting to use italics or strikethrough 2020-11-13 02:15:57 -05:00
“Carson
50310f4d29 add font modifier cell options: bold, italic, underline. 2020-11-12 15:54:58 -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
37ee2177ac Add missing Close() function to terminalapi.Terminal interface 2020-03-01 14:43:46 -05:00
kvnxiao
6246aba1f7 Change "invalid" to "unsupported" in comments 2020-03-01 14:24:10 -05:00
kvnxiao
95719be9f6 Make mouse event test case clearer 2020-03-01 14:23:53 -05: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
1af531975d Fix linting 2020-03-01 01:25:50 -05:00
kvnxiao
c8ffedc2b8 Return nil mouseEvent for non-supported events 2020-03-01 01:19:49 -05:00
kvnxiao
1e970dcacd Return nil for non-termdash events 2020-03-01 01:14:37 -05:00
kvnxiao
f7578e54cc Fix tests for ColorDefault 2020-02-29 18:46:20 -05:00
kvnxiao
a0d3da0527 Fix a check in fixColor 2020-02-29 18:40:14 -05:00
kvnxiao
d270c6de17 Add missing license header 2020-02-29 18:26:10 -05:00
kvnxiao
299590e784 Fix a test case for fixColors on color mode 216 2020-02-29 18:09:20 -05:00
kvnxiao
2f2b13d319 Add event.Name() to keyboard key error message 2020-02-29 18:06:55 -05:00
kvnxiao
5f5aff3a94 Add cellOptsToStyle test 2020-02-29 18:03:36 -05:00
kvnxiao
c431b8c3bd Add fixColor test 2020-02-29 17:52:32 -05:00
kvnxiao
5cd12d9fce Add test for tcell options 2020-02-29 17:32:35 -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
4fcdf48ecb Fix mouse events 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
Jakub Sobon
bda6223690
Don't split keyboard shortcuts.
It makes it hard to recognize when a shortcut is pressed and when a
single character is pressed. Do what termbox does and identify these
separately.

Obsoletes #20.
2019-04-20 17:10:59 -04:00
Jakub Sobon
ffbf88caed
Finishing unfinished comment. 2019-02-24 02:39:00 -05:00
Jakub Sobon
b25d20c8ae
Mouse and keyboard are also public. 2019-02-24 02:08:48 -05:00
Jakub Sobon
b74f46509b
Moving runewidth, segdisp and testdraw to internal. 2019-02-24 01:27:17 -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
2ff1818c0e
Moving keyboard and mouse to internal. 2019-02-23 21:11:50 -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
b79c3fef2d
Switching termdash to EDS. 2019-02-20 01:18:44 -05:00
Jakub Sobon
286e5abd2f
Errors are no longer a special case in the EDS.
And changing event queue so that Pullers don't have to process an error.
2019-02-20 00:20:58 -05:00
Jakub Sobon
772fdae7cc
Moving eventqueue into new event directory. 2019-02-18 22:56:20 -05:00
Jakub Sobon
69b7799847
Adding licences. 2019-02-11 00:18:46 -05:00
Jakub Sobon
550afdd613
Licences and fixing data race. 2019-02-11 00:14:24 -05:00
Jakub Sobon
18a99caf16
Termbox now starts in 256 color mode by default. 2019-02-10 23:55:35 -05:00
Jakub Sobon
20c31cb800
Include newline when printing cell differences. 2019-01-20 16:21:16 -05:00
Jakub Sobon
486172e4f9
faketerm.Diff also prints out the rune differences.
Useful when they aren't obvious in their character forms.
2019-01-20 16:19:50 -05:00