Daniel Imms
de683b35b2
Merge pull request #1485 from Tyriar/664_fit_readme
...
Add basic fit readme
2018-06-03 06:13:30 -07:00
Daniel Imms
75a45808c3
Merge branch 'master' into 1456_triple_click_wrapped
2018-06-03 06:04:41 -07:00
Daniel Imms
4dff828374
Add @types/glob
2018-06-03 07:15:45 +01:00
Daniel Imms
fea8ba03b8
Finish removing all implicit anys
2018-06-02 19:02:54 -07:00
Daniel Imms
918ee16f86
Don't set options on terminaol object itself
2018-06-02 18:47:04 -07:00
Daniel Imms
b79ab7212c
Remove a bunch of implicit anys
2018-06-02 18:39:05 -07:00
Daniel Imms
956b773421
Add more tests, fix boundary bug
2018-06-02 18:07:49 -07:00
Daniel Imms
cd3418517e
Select the whole wrapped line when triple clicking
...
Fixes #1456
2018-06-02 17:56:44 -07:00
Daniel Imms
285911cd98
Implement IBuffer.getWrappedRangeForLine
...
Part of #1456
2018-06-02 17:53:35 -07:00
Daniel Imms
5acc45f08b
Add basic fit readme
...
Fixes #664
2018-06-02 12:22:05 -07:00
Daniel Imms
d5af79fc5f
Include typings in addons as well
2018-06-01 08:55:22 -07:00
Lukas Geiger
8989a09853
Prefer const vs let for variables that are only declared once
...
Requires that variable declarations use `const` instead of `let` and `var` if possible.
This is mostly for code readability, performance wins are debatable.
2018-05-30 19:47:28 +02:00
muji
3ae96a2266
Improve isSafari test.
2018-05-24 10:18:43 +08:00
muji
87fee8d024
Suppress Safari promise rejections.
...
Currently Webkit implements createImageBitmap() but returns a promise
rejection.
Note that once Webkit implements createImageBitmap() correctly these
changes should be removed.
2018-05-24 10:11:03 +08:00
Daniel Imms
44fde26f04
Remove types when they're inferred
2018-05-22 06:44:50 -07:00
Jörg Breitbart
ac9b71549a
add missing type decl
2018-05-21 22:39:00 +02:00
Jörg Breitbart
328086f206
declare types in InputHandler.print
2018-05-21 22:29:05 +02:00
Jörg Breitbart
b3e8197111
changes in InputHandler.print:
...
- call updateRange only at start and end
- make all repeated terminal accesses local
- set full charCode (codepoint) in terminal buffer
2018-05-21 20:58:23 +02:00
Daniel Imms
6bc6ea56a5
Merge branch 'master' into new_parser
2018-05-21 10:04:15 -07:00
Jörg Breitbart
e97882e5ad
use string templates in DCS responses
2018-05-21 18:52:27 +02:00
Jörg Breitbart
8386ec1c19
Merge branch 'new_parser' of https://github.com/jerch/xterm.js into new_parser
2018-05-21 18:34:51 +02:00
Jörg Breitbart
ceb1432f75
remove deprecated FIXME
2018-05-21 18:33:59 +02:00
Daniel Imms
054abd15ea
Save and restore correctly when drawing from static cache
...
Fixes #1424
2018-05-21 09:11:41 -07:00
Daniel Imms
c1f8225c4f
Merge branch 'master' into new_parser
2018-05-21 07:30:35 -07:00
Benjamin Woodruff
7f761b5b9e
Merge branch 'master' into dynamic-char-atlas
...
I did a bunch of testing of various ansi escape codes (including
italics) with all three char atlas implementations (none, static,
dynamic), with and without `drawBoldTextInBrightColors`, and with and
without `enableBold` to test all of the edge cases that I could.
2018-05-17 22:42:52 -07:00
Daniel Imms
d8afdb1b6b
Merge branch 'master' into new_parser
2018-05-15 13:21:33 -07:00
Daniel Imms
435cf91ec7
Merge pull request #1433 from Tyriar/fix_lint
...
Run tslint on all of src/ (for good this time)
2018-05-14 11:33:30 -07:00
Daniel Imms
7a9f291df9
Merge pull request #1446 from Tyriar/1437_fix_link_pointer
...
Fix link cursor CSS
2018-05-12 07:45:20 -07:00
Daniel Imms
9dfce63e55
Simplify cursor styles
2018-05-12 07:44:30 -07:00
Daniel Imms
343cc2b7b2
Merge branch 'master' into alt-click-map-bug
2018-05-11 15:50:40 -07:00
Daniel Imms
0375e0064b
Fix link cursor CSS
...
Ensure pointer overrides the default mouse events mode cursor.
Fixes #1437
2018-05-11 10:03:43 -07: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
9893338020
Add drawBoldTextInBrightColors to DEFAULT_OPTIONS
...
This lets term.setOption() work for drawBoldTextInBrightColors.
2018-05-08 18:34:23 -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