Daniel Imms
|
0bfdff0b39
|
Theme unfocused cursor using cursor color
|
2017-09-04 08:09:43 -07:00 |
|
Daniel Imms
|
29a7ee30f3
|
Fix lint
|
2017-09-03 22:39:47 -07:00 |
|
Daniel Imms
|
e77f1a9287
|
Use default colors if not defined in a theme
Previous behavior didn't touch them, meaning partial themes could be
inconsistent
|
2017-09-03 21:52:52 -07:00 |
|
Daniel Imms
|
36778186e1
|
Fix tests
|
2017-09-03 14:34:50 -07:00 |
|
Daniel Imms
|
e518ea04c5
|
Get tests reporting failures again
|
2017-09-03 14:21:30 -07:00 |
|
Daniel Imms
|
2d1a1bfb76
|
Fix inconsistency with lineHeight
|
2017-09-03 09:05:26 -07:00 |
|
Daniel Imms
|
bc3470c272
|
Fix default bold text
|
2017-09-03 08:06:27 -07:00 |
|
Daniel Imms
|
deb47e29bf
|
Fix canvas resizing with non-1 lineHeight
|
2017-09-03 07:41:18 -07:00 |
|
Daniel Imms
|
5a4851630e
|
Prevent updating of invalid terminal row ranges
|
2017-09-03 07:27:52 -07:00 |
|
Daniel Imms
|
fd4e9d8a1b
|
Fix graphical glitch wide chars would leave behind
Wide chars now 'own' the character next to them and are entirely responsible
for drawing and clean up
|
2017-09-02 23:13:24 -07:00 |
|
Daniel Imms
|
8427f7490d
|
Clear state when resizing as canvases get cleared
|
2017-09-02 21:13:44 -07:00 |
|
Daniel Imms
|
4f81cdfe8c
|
Make the terminal background theme aware
|
2017-09-02 13:59:22 -07:00 |
|
Daniel Imms
|
c92a2f964a
|
Support lineHeight
|
2017-09-02 12:27:09 -07:00 |
|
Daniel Imms
|
9cabb93b8b
|
Organize temporary color handling code
|
2017-09-02 11:08:43 -07:00 |
|
Daniel Imms
|
b8732a25a3
|
Support Safari
Safari lacks support for window.createImageBitmap, fallback to
HTMLCanvasElement in thi case.
|
2017-09-02 10:37:51 -07:00 |
|
Daniel Imms
|
32a3c9812d
|
Support wide character drawing and cursors
|
2017-09-02 10:17:49 -07:00 |
|
Daniel Imms
|
ae72e1c51e
|
Fix uncached chars bleeding into other cells
|
2017-09-02 09:49:48 -07:00 |
|
Daniel Imms
|
6dd6d0391f
|
Add cell spacing to char atlas
|
2017-09-02 00:06:28 -07:00 |
|
Daniel Imms
|
36a723c4cc
|
Fix 256 FG chars
|
2017-09-01 23:58:34 -07:00 |
|
Daniel Imms
|
cf7237d2a4
|
Fix remaining cursor animation state issues
|
2017-09-01 23:47:17 -07:00 |
|
Daniel Imms
|
06b54585a1
|
Fix cursor render when after focusing underline/bar
|
2017-09-01 23:11:39 -07:00 |
|
Daniel Imms
|
f8ece108c6
|
Rerender cursor if state changes
|
2017-09-01 23:00:29 -07:00 |
|
Daniel Imms
|
4919c40b57
|
Add cursor to ITheme
|
2017-09-01 22:53:21 -07:00 |
|
Daniel Imms
|
dc1e727613
|
Support blurred cursor
|
2017-09-01 22:42:31 -07:00 |
|
Daniel Imms
|
6ee8e9126a
|
Remove some old dead code
|
2017-09-01 21:38:35 -07:00 |
|
Daniel Imms
|
b0653fec68
|
Support underline
|
2017-09-01 21:24:17 -07:00 |
|
Daniel Imms
|
70764a74af
|
Use the proper bg/fg colors for inverse attr
|
2017-09-01 21:09:07 -07:00 |
|
Daniel Imms
|
1f444b1913
|
Support invisible attr
|
2017-09-01 20:51:18 -07:00 |
|
Daniel Imms
|
bf95333275
|
Fix the fit addon
|
2017-09-01 20:44:41 -07:00 |
|
Daniel Imms
|
2c9dbc6191
|
Add some jsdoc
|
2017-09-01 16:58:02 -07:00 |
|
Daniel Imms
|
de4fcb9241
|
Merge render layer interface types
|
2017-09-01 16:54:26 -07:00 |
|
Daniel Imms
|
bc3bdacdaa
|
Add a char atlas cache to allow different styles+reuse across terminals
|
2017-09-01 16:43:45 -07:00 |
|
Daniel Imms
|
62fea4d3ed
|
Add theme support
|
2017-09-01 15:50:18 -07:00 |
|
Daniel Imms
|
076156b66e
|
Properly support blinking cursors
|
2017-09-01 12:59:18 -07:00 |
|
Daniel Imms
|
3fc500b291
|
Pull cursor animation state management into a helper class
|
2017-09-01 12:11:07 -07:00 |
|
Daniel Imms
|
882d7e4a30
|
Add basic support for cursor blinking
|
2017-09-01 11:34:52 -07:00 |
|
Daniel Imms
|
81d93b8fbf
|
Ensure CharMeasure exposes integers
|
2017-08-31 23:23:04 -07:00 |
|
Daniel Imms
|
42e5b3473d
|
Don't clear fg char if it's null or ' '
|
2017-08-31 23:13:09 -07:00 |
|
Daniel Imms
|
510940389c
|
Provide convenience draw methods that deal with cells
|
2017-08-31 23:01:17 -07:00 |
|
Daniel Imms
|
9323833fcc
|
Move scaledCharWidth/Height into base render layer
|
2017-08-31 22:48:08 -07:00 |
|
Daniel Imms
|
6588e9e01b
|
Fix cursor which cursor character is rendered
|
2017-08-31 22:43:48 -07:00 |
|
Daniel Imms
|
15c73ef94f
|
Add fontSize and fontFamily options
|
2017-08-31 22:42:39 -07:00 |
|
Daniel Imms
|
c88824155f
|
Simplify color generation code
|
2017-08-31 21:18:55 -07:00 |
|
Daniel Imms
|
1998675dc0
|
Move char drawing to base and use in cursor layer
|
2017-08-31 17:29:58 -07:00 |
|
Daniel Imms
|
fe7b424ab8
|
Move char atlas into BaseRenderLayer
|
2017-08-31 17:20:50 -07:00 |
|
Daniel Imms
|
a91380a76f
|
Pull common parts into BaseRenderLayer
|
2017-08-31 17:13:15 -07:00 |
|
Daniel Imms
|
fd18f7cba7
|
Support basic cursor
|
2017-08-31 17:02:24 -07:00 |
|
Daniel Imms
|
d3650d9d80
|
Draw selection underneath foreground
|
2017-08-31 07:54:16 -07:00 |
|
Daniel Imms
|
dff3d16831
|
Support 256 color
|
2017-08-31 00:25:52 -07:00 |
|
Daniel Imms
|
d601f0aec2
|
Hang on to selection state to avoid redrawing
|
2017-08-31 00:13:49 -07:00 |
|