Peng Xiao
ef4cda2cc6
revise importing addons in ts
2018-05-11 11:20:02 +08:00
Peng Xiao
d315dd6684
Merge branch 'master' into patch-1
2018-05-11 11:12:02 +08:00
Benjamin Woodruff
8a5891ede2
Merge pull request #1442 from bgw/dim-save-restore
...
Save and restore the ctx for cached characters
2018-05-10 09:38:46 -07:00
Peng Xiao
bce81f304e
Update how to use addons with Typescript
2018-05-10 16:11:25 +08:00
Benjamin Woodruff
3971fc9b4e
Save and restore the ctx for cached characters
...
Drawing dim colors sets the globalAlpha to 0.5, so we need to
save/restore the ctx state. Otherwise, every time we draw some dim
content, our display will get progressively dimmer.
I tested this by running `echo '\u001b[2mfoo'` a few times in zsh.
Fixes #1424
2018-05-09 20:34:55 -07:00
npezza93
4edbd507e5
Check if endCol and endRow are present before handling an alt click
2018-05-09 19:35:02 -04:00
npezza93
b162582e66
Handle if getCoords returns null in the AltClickHandler
...
Fixes #1397
2018-05-09 19:31:19 -04:00
Benjamin Woodruff
be32695e16
Merge pull request #1391 from LinusU/bright-vs-bold
...
Separate bright and bold
2018-05-08 18:43:41 -07:00
Benjamin Woodruff
9893338020
Add drawBoldTextInBrightColors to DEFAULT_OPTIONS
...
This lets term.setOption() work for drawBoldTextInBrightColors.
2018-05-08 18:34:23 -07:00
Ledion Bitincka
cfdec9ff90
add diag.ai
2018-05-08 16:27:54 -07:00
Jörg Breitbart
02893dcbb8
fix some docs
2018-05-07 23:28:40 +02:00
Linus Unnebäck
ce6139e604
Add drawBoldTextInBrightColors option
2018-05-07 22:23:04 +02:00
Linus Unnebäck
a23354f018
Fully use char atlas for bright & bold colors
2018-05-07 22:23:01 +02:00
Linus Unnebäck
41fd563144
Separate bright and bold
2018-05-07 22:19:01 +02:00
Jörg Breitbart
a37449a8cd
some docs cleanup
2018-05-06 23:33:52 +02:00
Jörg Breitbart
551ccc0f2f
explicit arguments for fallback handlers
2018-05-06 23:02:54 +02:00
Jörg Breitbart
108aa5ab31
test Uint8Array and Array; fix Uint8Array type
2018-05-06 22:42:07 +02:00
Daniel Imms
362d7698f7
Some polish
2018-05-05 08:12:52 -07:00
Daniel Imms
edb06c6b2a
Add copyright header
2018-05-05 07:54:38 -07:00
Jörg Breitbart
6cefb4c634
more test cases
2018-05-05 16:26:07 +02:00
Daniel Imms
9bcecd4e2e
Run tslint on all of source (for good this time)
2018-05-04 10:20:09 -07:00
Jörg Breitbart
0f8d22547e
fix identation
2018-05-02 01:23:46 +02:00
Jörg Breitbart
c069e94a4c
Merge branch 'master' into new_parser
2018-05-02 00:42:23 +02:00
Jörg Breitbart
a1a4cac113
dcs handler implementations
2018-05-02 00:22:35 +02:00
Jörg Breitbart
25ff77af03
fix transition definitions
2018-05-01 22:22:40 +02:00
Jörg Breitbart
536b3a8def
fix member scope and tests
2018-05-01 22:17:26 +02:00
Jörg Breitbart
d090cbe4b9
some docs
2018-05-01 21:54:15 +02:00
Jörg Breitbart
9a32852e61
single arg for DCS and ESC handler registration
2018-05-01 21:07:13 +02:00
Daniel Imms
e48b15e859
Merge pull request #1422 from flybayer/italic
...
Add support for italic rendering
2018-05-01 11:56:21 -07:00
Jörg Breitbart
89cf45c514
save func pointer in local var
2018-05-01 20:51:36 +02:00
Daniel Imms
a732952677
Rearrange italic/bold to get _ctx.font validating
2018-05-01 11:50:06 -07:00
Jörg Breitbart
0c200f2feb
remove collect from args where not needed
2018-05-01 20:41:41 +02:00
Jörg Breitbart
728eeebcc7
set member through ctor argument
2018-05-01 20:33:48 +02:00
Daniel Imms
b60ab119b2
Merge branch 'master' into italic
2018-05-01 11:30:03 -07:00
Jörg Breitbart
c7fdff2f40
several changes:
...
- missing escape sequence related methods in InputHandler implemented
- created namespace for C1 control codes
2018-05-01 17:50:41 +02:00
Jörg Breitbart
2eeb7b8ea5
ESC and OSC method entries for InputHandler
2018-05-01 16:36:12 +02:00
Jörg Breitbart
0535f5d1b3
unified method signature in InputHandler, moved some CSI condition into methods (FIXME: needs intermediate handler)
2018-05-01 14:58:16 +02:00
Jörg Breitbart
aeae688b4c
multiple changes in InputHandler:
...
- remove prefix/postfix
- optional collect arg where needed
- tempPrefix handler removed
- replaced .bind with () => notation
- moved callback registering to ctor again
2018-05-01 14:32:08 +02:00
Jörg Breitbart
af392a6305
cleanup, some docs, temp fix for InputHandler tests
2018-04-30 23:35:54 +02:00
Jörg Breitbart
ba6fcddc43
real merge of InputHandler and ParserTerminal
2018-04-30 17:04:29 +02:00
Jörg Breitbart
dbc6b12ec2
missing whitespace
2018-04-30 15:44:21 +02:00
Jörg Breitbart
645cd2eb2c
fix test cases
2018-04-30 15:38:17 +02:00
Jörg Breitbart
b158176862
local .buffer in parse
2018-04-30 14:25:29 +02:00
Jörg Breitbart
a1035269d5
add array fallback for TransitionTable
2018-04-30 11:27:10 +02:00
Jörg Breitbart
f5375c3a99
fix error in esc handler call
2018-04-30 02:06:57 +02:00
Jörg Breitbart
a55a7f3695
some cleanup
2018-04-30 01:49:29 +02:00
Jörg Breitbart
826cca7088
fix import issue
2018-04-30 01:32:49 +02:00
Jörg Breitbart
0f3d82a2a5
faster print action
2018-04-29 23:48:30 +02:00
Jörg Breitbart
dc14f5226d
fix InputHandler
2018-04-29 19:34:43 +02:00
Jörg Breitbart
27a3347c3f
Merge branch 'master' into new_parser
2018-04-29 19:30:35 +02:00