Juan Campa
fd34caee23
Use a time-based limit to Terminal._innerWrite
...
The idea is that it should run for a bit and then let the renderer draw
a frame so that the terminal look responsive. The existing approach
limits the work done using a fixed number elements from the write
buffer so the duration of a frame can vary widely.
This approach looks at the clock to determine when to stop, we basically
allocate an amount of time each frame to write, while the rest can be
used for rendering.
From my tests this change makes the terminal feel a lot smoother.
2018-12-08 00:44:05 -05:00
Jörg Breitbart
18902dd789
make linter happy
2018-12-04 19:11:39 +01:00
Jörg Breitbart
66ec57b431
cleanup
2018-12-04 19:02:27 +01:00
Jörg Breitbart
6ee9178302
make typed array buffer default
2018-12-04 18:55:11 +01:00
Daniel Imms
4beb3a9ecd
Merge remote-tracking branch 'origin/master' into remove_shared_folder
2018-11-29 11:56:27 -08:00
Daniel Imms
9df56aba13
Merge pull request #1795 from Tyriar/clipboard_layering
...
Move Clipboard to ui/
2018-11-29 11:54:15 -08:00
Daniel Imms
8cf98ec546
Merge pull request #1800 from Tyriar/typescript_3_1
...
Upgrade to typescript 3.1
2018-11-29 11:53:50 -08:00
Daniel Imms
68d5ce947e
Merge pull request #1772 from whydoubt/fix_1767
...
Only show cross-hairs when terminal has focus
2018-11-26 11:20:36 -08:00
Daniel Imms
13175976d0
Upgrade to typescript 3.1
...
Bunch of types needed changing in this version, also the
IOffscreenCanvas "support" in the canvas renderer was removed
as we're moving away from that.
2018-11-24 07:16:43 -08:00
Daniel Imms
f4a522516c
Remove shared/ folder
...
We changed plans from moving web worker compatible code to shared/
to enforcing layers using core/, common/, ui/ and public/. This
change moves files back from the shared/ dir to clean up the
codebase.
Part of #1507
2018-11-24 07:03:59 -08:00
Daniel Imms
c6f1de7970
Introduce is256Color helper
2018-11-24 05:24:15 -08:00
Daniel Imms
5fca73aa5a
Merge branch 'master' into 1737_inverse_dynamic_cache
2018-11-23 14:31:16 -08:00
Daniel Imms
929d722e0e
Merge pull request #1794 from Tyriar/remove_unused_line_height
...
Remove unused lineHeight parameters
2018-11-23 14:30:08 -08:00
jerch
8a04431417
Merge branch 'master' into improve_fill_fallback
2018-11-23 19:18:21 +01:00
jerch
62b1aa5a67
Merge branch 'master' into alt_buffer
2018-11-23 19:09:08 +01:00
jerch
41ba20f749
remove not longer needed test cases
...
Removed the `loopFill` test method as it is not needed anymore with the separation of the looping variant in `fillFallback`.
2018-11-23 18:40:52 +01:00
Daniel Imms
32574a1a09
Move Clipboard to ui/
...
Belong here as it interacts with DOM
Part of #1507
2018-11-23 09:05:07 -08:00
Daniel Imms
fc6f101e16
Remove unused lineHeight parameters
2018-11-23 08:59:30 -08:00
Daniel Imms
2e889852b0
Merge branch 'master' into 1737_inverse_dynamic_cache
2018-11-23 08:52:32 -08:00
Daniel Imms
1b5ef5d93a
Move TypedArrayUtils to common
...
It belongs here since the renderers will use it
2018-11-23 08:08:30 -08:00
Daniel Imms
4f18717940
Improve handling of default values
2018-11-23 07:49:35 -08:00
Daniel Imms
266ea38d91
Improve types of fill polyfill and test fallback
...
The polyfill will now return the T instead of the TypedArray union
type. Tests now target the fallback only so engines that support fill
will run tests against the fallback code.
2018-11-23 07:36:01 -08:00
Daniel Imms
f363872f1e
Merge branch 'master' into 1609_dom_no_null_cells
2018-11-23 06:51:53 -08:00
Daniel Imms
478dfee6e2
Ensure wide chars don't overflow onto following row
2018-11-23 06:51:39 -08:00
Daniel Imms
d9513ce50d
Don't bother checking beyond cols
2018-11-23 06:48:37 -08:00
Daniel Imms
fe027a2e9d
Merge branch 'master' into optimisation_wcwidth
2018-11-23 06:26:36 -08:00
Daniel Imms
65c5df92d9
Move import below copyright
2018-11-23 06:26:06 -08:00
Daniel Imms
dc0ae4a815
Fix indentation
2018-11-23 06:24:27 -08:00
Daniel Imms
66272eb310
Get the line length by going backwards instead
2018-11-23 05:40:35 -08:00
Daniel Imms
913adf9ccc
Merge branch 'master' into 1609_dom_no_null_cells
2018-11-22 12:46:00 -08:00
jerch
2f453f968c
Merge branch 'master' into reuse_bufferlines
2018-11-22 21:17:38 +01:00
Daniel Imms
dc077a181e
Fix tests and the colCount feature
2018-11-22 12:03:08 -08:00
Daniel Imms
692cdfa390
DOM renderer: Don't output empty cells at end
...
Fixes #1609
2018-11-22 11:38:00 -08:00
Daniel Imms
53fe096455
Type fn strongly
2018-11-22 10:52:55 -08:00
Daniel Imms
549c28bfa4
Merge branch 'master' into run-tests-and-tslint-for-addons-directory
2018-11-22 10:51:55 -08:00
Jörg Breitbart
8c33de395d
fix linter errors
2018-11-21 00:15:04 +01:00
Jörg Breitbart
ef6fb93a92
polyfill for TypedArray.fill
2018-11-21 00:07:28 +01:00
Jörg Breitbart
36db03e713
keep old impl in test as reference; minor changes
2018-11-20 22:35:51 +01:00
Jörg Breitbart
895d6fc479
Merge branch 'master' into reuse_bufferlines
2018-11-20 22:03:24 +01:00
Jörg Breitbart
15c4cc8a74
remove experimental flag for recycling, merge with TypedArray setting
2018-11-20 22:01:57 +01:00
Jörg Breitbart
3964bb28b5
throw error in recycle with buffer not full
2018-11-20 21:49:31 +01:00
Jörg Breitbart
21f848d0ab
regression test
2018-11-18 23:48:59 +01:00
Jörg Breitbart
9b762854eb
faster wcwidth init and runtime; fix slightly wrong surrogate handling
2018-11-18 23:31:45 +01:00
Daniel Imms
e4a84643b8
Merge pull request #1765 from jrkong/vscode-issue-60401
...
Updated webLinks regex accept colons, fix vscode issue#60401
2018-11-18 14:12:30 -08:00
Jörg Breitbart
9286ea3eaf
make statix usage explicit
2018-11-18 17:50:29 +01:00
Jörg Breitbart
203ee0f644
remove ctx args from ctor
2018-11-18 17:47:49 +01:00
Jörg Breitbart
579ef28929
Merge branch 'master' into fix_audiocontext
2018-11-18 17:46:19 +01:00
Daniel Imms
bcd3a4dc40
Merge pull request #1784 from xtermjs/Tyriar-patch-1
...
Fixing isClickInSelection to cover missing cases
2018-11-16 18:03:27 -08:00
Daniel Imms
a480f483cd
Add tests
2018-11-16 17:54:03 -08:00
Jeff Smith
2f90035243
Clear alt buffer with erase attributes upon entering
2018-11-16 14:33:37 -06:00