Daniel Imms
f19d7f0b70
Require spacing of objects outside of test files
2021-04-02 07:08:06 -07:00
Daniel Imms
1925f1f442
Improve whitespace
2021-04-01 08:41:29 -07:00
Daniel Imms
6355852d09
Merge remote-tracking branch 'ups/master' into pr/schrej/3205
2021-04-01 08:36:14 -07:00
Daniel Imms
7b920adbe9
Tidy up syncTextArea
2021-04-01 08:26:35 -07:00
Daniel Imms
05516750b5
Remove RenderService check, it must be passed to ctor
2021-04-01 08:23:35 -07:00
Daniel Imms
b62a64519f
Use buffer y for relative cursor pos
2021-04-01 08:23:18 -07:00
Daniel Imms
e9e716964e
Remove now unneeded CharSizeService
2021-04-01 08:19:12 -07:00
kena0ki
a15f61bb85
Remove non-null assertion
2021-04-01 00:11:30 +09:00
kena0ki
de334ea116
Use RenderService.dimensions instead of CharSizeService for textarea position
2021-03-31 23:32:53 +09:00
Daniel Imms
d2471b4301
Update src/browser/Types.d.ts
2021-03-30 06:19:39 -07:00
Daniel Imms
04092c80e8
Update src/browser/services/SelectionService.ts
2021-03-30 06:19:34 -07:00
Daniel Imms
b7e0489a53
Remove offset from link
...
The link range is absolute, not relative to viewport
2021-03-30 06:18:17 -07:00
Daniel Imms
daf1128df7
Merge branch 'master' into 682_url_selector
2021-03-30 05:34:38 -07:00
coderaiser
de791cfb35
chore: lint using putout
2021-03-28 15:27:03 +03:00
Daniel Imms
886f285ab7
Remove old setting dimensions
2021-03-18 08:31:13 -07:00
Daniel Imms
00bdd2805a
Ensure in js that the textarea is always > 1x1px
2021-03-18 08:14:27 -07:00
Martin Sander
5185e5f894
Use linkifier2 to double click select links
...
Also works with right click select.
Fixes #682 .
2021-03-16 16:42:38 +01:00
Jörg Breitbart
d0b555687f
update parser hooks api and tests
2021-02-08 03:28:49 +01:00
Jörg Breitbart
898a18db21
Merge branch 'master' into async_handlers
2021-02-07 23:14:30 +01:00
jeanp413
350f6cfea1
Fixes https://github.com/microsoft/vscode/issues/102194
2021-02-05 11:15:39 -05:00
hantatsang
a0903fbf9b
terminal.open: support webcomponent in dom node check
2021-01-31 11:43:59 +11:00
Jörg Breitbart
a9eb1de4b4
Merge branch 'master' into async_handlers
2021-01-24 09:11:51 +01:00
Jörg Breitbart
d3c9f70bec
replace expect testing with assert
2021-01-23 17:09:43 +01:00
Jörg Breitbart
4ba7aef441
Merge branch 'master' into async_handlers
2021-01-23 13:06:50 +01:00
Jörg Breitbart
b07ca8bb24
fix timeout issue on macos
2021-01-22 21:34:12 +01:00
Jörg Breitbart
adfeffec76
deprecate writeSync
2021-01-22 21:17:34 +01:00
Martin Sander
554b4a8224
Store old selection when firing onSelectionChange
2021-01-22 16:41:57 +01:00
Martin Sander
c6f93701f5
fire onSelectionChange on right click select
...
fixes #3216 .
2021-01-16 10:14:11 +01:00
Daniel Imms and Megan Rogge
66c80d8b78
Simplify checks
...
Co-authored-by: Megan Rogge <merogge@microsoft.com >
2021-01-15 09:39:34 -08:00
Martin Sander
0cb38cfdcb
fire onSelectionChange on empty selection
...
Fire the onSelectionChange event when a selection is cleared by
single-clicking somewhere inside the terminal area.
fixes #3193 .
This also slightly changes the behaviour when re-selecting the same area
in the terminal. Before, this fired onSelectionChange, but it does not
anymore, even when changing the direction of the selection.
2021-01-14 23:08:34 +01:00
Jakob
b0605e4cd1
Merge branch 'master' into fix/scroll-events
2021-01-13 11:12:14 +01:00
Jakob Schrettenbrunner
82a9ee62d7
emit onScroll event when user is scrolling
2021-01-12 22:35:47 +00:00
Jakob Schrettenbrunner
8b2b0f6abc
add richer ScrollEvent that includes the source
2021-01-12 22:32:20 +00:00
Daniel Imms
8860726c68
Merge branch 'master' into issue3191
2021-01-11 09:51:02 -08:00
Daniel Imms
19c14b076b
Remove resolved TODO
2021-01-11 07:40:25 -08:00
Slawek Zachcial
676aabc3ed
Merge branch 'master' into add-osc-4
2021-01-09 16:57:18 +01:00
Sebastian Malton
5bab94730f
freeze the default ANSI colours const
2021-01-08 09:46:12 -05:00
Daniel Imms and PretaSOFT
7145130835
Fix onBufferChange event not working after reset
...
Co-authored-by: Megan Rogge (megan.rogge@microsoft.com )
2021-01-05 09:32:09 -08:00
meganrogge
b34289cc44
use reset
2021-01-05 07:10:27 -08:00
meganrogge
fe2b1c0d43
set this._buffer to new buffer
2021-01-04 11:32:11 -08:00
meganrogge
8baff9bade
cache buffer
2021-01-04 08:31:22 -08:00
kena0ki
3cab8511e4
Prevent input characters using IME from being duplicated
2020-12-31 22:55:54 +09:00
Slawek Zachcial
7d3f5375a8
Implement OSC 4 for list of colors
2020-12-09 22:30:23 +01:00
Johannes Rieken
b2c4ed638b
fix bad none-breaking whitespace
2020-12-09 09:08:14 +00:00
Slawek Zachcial
2804bfa8b7
Make safe references to colorManager in _changeAnsiColor
2020-12-07 23:20:10 +01:00
Johannes Rieken
64ac67026a
avoid innerHTML usages
2020-12-02 16:25:19 +00:00
Slawek Zachcial
4c6dc45d20
Merge branch 'master' into add-osc-4
2020-11-24 22:54:26 +01:00
Tony Mottaz
78ddb9feba
Add 'altClickMovesCursor' option to getOption/setOption in Terminal
2020-11-22 10:00:41 -06:00
Tony Mottaz
f68ff2a455
Check for alt+click option sooner
2020-11-22 10:00:02 -06:00
Tony Mottaz
04e2bdd6ec
Make alt+click behavior configurable
2020-11-20 19:50:03 -06:00