Vincent Woo
0f6a8d3991
refreshRowElements argument order was flipped
...
This is potentially a fix for #1573 but I have not tested.
2018-07-18 17:55:59 -07:00
Daniel Imms
d4b507ddb1
Inline private member to ctor
2018-07-09 07:05:12 -07:00
Daniel Imms
1bad71f13a
Merge branch 'master' into character-joiner
2018-07-09 06:18:03 -07:00
Jeff Principe
63b3a6f323
Factor logic into registry, make matches cell-based and document
2018-07-08 11:30:54 -07:00
Daniel Imms
3c8f336689
Include ydisp in selection state
...
Fixes #1552
2018-07-06 09:53:45 -07:00
Daniel Imms
6d9d2a3304
Merge remote-tracking branch 'origin/master' into pr/princjef/1460
2018-07-03 11:50:07 -07:00
Daniel Imms
af9d17760d
Make columnSelectMode mandatory
2018-07-02 09:22:38 -07:00
Bruno Ribeito
7e393dfa8c
Move logic to helper function
2018-07-01 22:24:51 +01:00
Bruno Ribeito
932a8d5028
Fix SelectionRenderLayer._state
2018-07-01 19:26:50 +01:00
Viraj Sinha
169cbb3fca
Merge branch 'master' into column-select
2018-06-28 15:59:27 -07:00
Viraj Sinha
3202ddc96d
Adds support for column selections if holding alt on mac and shift on windows/linux
2018-06-28 15:55:44 -07:00
Daniel Imms
100143bd02
Merge branch 'master' into 1518_memory
2018-06-28 10:29:07 -07:00
Daniel Imms
d585515de1
Move RenderDebouncer and ScreenDprMonitor into ui
2018-06-23 17:34:01 +10:00
Daniel Imms
ede1d5f7c8
Correctly dispose of Renderer and ScreenDprMonitor
2018-06-21 10:49:03 +10:00
Daniel Imms
086b2c04e0
Make sure DOM renderer doesn't render cells beyond cols
...
Fixes #1523
2018-06-20 23:02:05 +10:00
Daniel Imms
ee935cc68c
Add a null check to charatlas beginFrame call
...
Fixes #1511
2018-06-12 17:27:36 +02:00
Daniel Imms
2aff2eb710
Merge branch 'master' into more_naming_conventions
2018-06-03 07:23:14 -07:00
Daniel Imms
1ca6e51564
Fix lint
2018-06-03 16:06:45 +02:00
Daniel Imms
52be55852e
Merge branch 'master' into 1360_dom_renderer
2018-06-03 06:58:08 -07:00
Daniel Imms
b79ab7212c
Remove a bunch of implicit anys
2018-06-02 18:39:05 -07:00
Jeff Principe
eabb25c796
add ability to register/deregister character joiner
2018-06-02 10:24:52 -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
Daniel Imms
82fdcc0771
Get DomRendererRowFactory test coverage to 100%
2018-05-26 08:43:55 -07:00
Daniel Imms
c2b5a243f2
Refactor and add some tests to dom renderer
2018-05-26 08:15:40 -07:00
Daniel Imms
85dada2eed
Merge remote-tracking branch 'origin/master' into 1360_dom_renderer
2018-05-21 09:41:21 -07: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
724aa9d6c7
Fix compile and lint
2018-05-21 08:17:07 -07:00
Daniel Imms
1736c1e12d
Prevent outside line-height styles from affecting cursor
...
See Microsoft/vscode#50125
2018-05-18 12:17:39 -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
2b4c5adb3c
Set font family and size
2018-05-15 11:29:51 -07:00
Daniel Imms
6024e7c5fe
Size row container so scroll bar shows
2018-05-15 10:52:01 -07:00
Daniel Imms
aa1e1c5d94
Scope styles per terminal
2018-05-15 10:18:43 -07:00
Daniel Imms
2f618b37c1
Merge branch 'master' into 1360_dom_renderer
2018-05-15 10:08:09 -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
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
Benjamin Woodruff
9893338020
Add drawBoldTextInBrightColors to DEFAULT_OPTIONS
...
This lets term.setOption() work for drawBoldTextInBrightColors.
2018-05-08 18:34:23 -07: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
Daniel Imms
5b5eb48867
Polish
2018-05-04 10:55:41 -07:00
Daniel Imms
09624c18e0
Move standard width to style element
2018-05-04 10:43:54 -07:00
Daniel Imms
9bcecd4e2e
Run tslint on all of source (for good this time)
2018-05-04 10:20:09 -07:00
Daniel Imms
52e71a2530
Support italic
2018-05-04 10:13:21 -07:00
Daniel Imms
6cadd7c4a8
Fill in documentation on new option
2018-05-04 10:02:01 -07:00
Daniel Imms
b14308f2c4
Resolve a bunch of TODOs
2018-05-04 09:38:24 -07:00
Daniel Imms
2c3949375e
Update after a options change
2018-05-04 08:37:41 -07:00
Daniel Imms
e3e4dcb5d1
Support selection
2018-05-04 08:32:03 -07:00
Daniel Imms
e9f4d39f2b
Start on selection
2018-05-04 06:27:40 -07:00
Daniel Imms
d777513b87
Handle focus, emit refresh
2018-05-03 11:58:46 -07:00
Daniel Imms
1d2f356cfd
Add a bunch of constants
2018-05-03 11:44:46 -07:00