Daniel Imms
22e8a2f8e7
Remove old dimension properties
2022-10-15 18:07:05 -07:00
Daniel Imms
89e0b87eac
Move to device/css in domrenderer
2022-10-15 14:22:04 -07:00
Daniel Imms
49a0904857
Move onSpecificOptionChange adoption
2022-10-09 08:07:43 -07:00
Daniel Imms
80e474c6ad
Viewport listen to theme service
2022-10-08 13:31:31 -07:00
Daniel Imms
5d8e4a0af4
Add lint rule to ensure _on prefix is only for event emitters
2022-10-08 11:05:52 -07:00
Daniel Imms
eecf52e949
Add lint rule to ensure on prefix is only for event emitters
...
Fixes #4183
2022-10-08 10:57:31 -07:00
Daniel Imms
d669c6e9d6
Fix remaining references
2022-10-01 18:03:43 -07:00
Mihai Parparita
a39a468f19
Make terminal rendering work in popout windows
...
Add support for the parent element (what is passed to Terminal.open)
being in a different (same origin) window. Accesses to DOM APIs such
as requestAnimationFrame and devicePixelRatio thus need to be scoped
to the corrent window, instead of assuming that it's the same as the
window/global scope where the code is running.
This is done by inferring a parent window at the creation time, and
then storing it in CoreBrowserService, which is already passed to most
places that need it.
To catch future regressions, an ESLint rule that checks for global
accesses is added (it uses AST selectors via the no-restricted-syntax
rule).
This should also be applicable when the parent element is an iframe.
Fixes #3758
2022-09-08 16:59:31 -07:00
Daniel Imms
4b8e7a5768
Change default to 0
2022-07-27 05:45:56 -07:00
Daniel Imms
fb4cb0f140
Reduce smooth scroll GC
2022-07-27 05:44:34 -07:00
Daniel Imms
a55728dd28
Add duration-based smooth scroll
...
Fixes #1140
2022-07-27 05:41:00 -07:00
Simon Lamon
8adf9473b7
check scrollback in fit addon
2022-03-12 09:36:06 +00:00
Simon Lamon
1dcc1d1baf
fix test and replace options with rawOptions
2022-01-08 08:20:50 +00:00
Daniel Imms
d54c40a3ed
Allow shift+wheel to bubble up the DOM
...
Fixes #3550
2021-11-09 06:46:00 -08:00
metonym
ed1aecb251
chore(viewport): run yarn lint --fix
2021-10-22 11:28:30 -07:00
metonym
7deb01267b
Use computed padding of terminal element to compute viewport width
2021-10-22 11:02:59 -07:00
metonym
9b1eec8ade
fix(viewport): account for fallback scrollbar width
2021-10-22 09:49:01 -07:00
Daniel Imms
263c6d75bf
Avoid scrollTop call in hot code
...
This seems to have been added in f6d5abf but it's not clear why, scroll APIs
seem to work fine without it and using a DOM API here is causing slowness
2021-09-01 06:44:34 -07:00
Daniel Imms
ffef3dba00
Avoid property use and float->number conversion
2021-09-01 06:41:10 -07:00
Daniel Imms
640ea60945
Action feedback
2021-08-30 10:48:12 -07:00
Puneethnaik
dab73aa263
update the viewportElement style width upon refreshing of the viewport to accomodate changes in scrollBarWidth
2021-07-28 15:56:26 +00:00
Daniel Imms
bcbcc71bfc
Trigger scroll when ignoring event
...
This is a less aggressive fix that doesn't regress tests
2021-05-11 06:52:04 -07:00
Daniel Imms
da39129bd2
Revert "Make sure all rows are refreshed on input"
...
This reverts commit 973eb7b350 .
2021-05-11 06:48:17 -07:00
Daniel Imms
973eb7b350
Make sure all rows are refreshed on input
...
Fixes #3323
2021-05-11 05:10:04 -07:00
Jakob Schrettenbrunner
82a9ee62d7
emit onScroll event when user is scrolling
2021-01-12 22:35:47 +00:00
Jon Bockhorst
700c4acf75
Rework link parser to use a single cached link and make other requested changes
2019-11-08 02:14:53 -06:00
Daniel
a5a0779aa9
Apply scrollSensitivity on fast scroll too
...
Fixes #2513
2019-10-25 05:22:03 -07:00
Eric Amodio
f445bc763b
Adds scrollSensitivity option for scrolling speed
2019-10-18 14:30:46 -04:00
Daniel Imms
843ea1b610
Fix scrollback going missing when increase size on Windows
...
This also forces the scroll bar to sync after a resize early, this may fix
other bugs.
Fixes #2459
2019-10-16 15:41:47 -07:00
Daniel Imms
4f8cda9f3a
Remove bad whitespace
2019-10-15 16:22:41 -07:00
Daniel Imms
9fdb674f20
Use min of 1 for fast scroll
2019-10-15 16:22:09 -07:00
Daniel Imms
e76b8f86b5
Pull modifier code into helper, apply to lines scrolled
2019-10-15 16:21:20 -07:00
Daniel Imms
5e1de3b062
Merge branch 'master' into feat/fast-scrolling
2019-09-07 13:49:42 -07:00
Daniel Imms
f91aa75c80
Indent second line of if condition
2019-08-22 09:12:04 -07:00
UmairShahzad
582934390d
restructured bubble scroll
2019-08-21 00:57:41 +05:00
UmairShahzad
6c3b084fe9
added scroll bubbling on wheel and touch move events
2019-08-15 07:41:23 +05:00
Corentin Surquin
73a17cfacb
Support fast scrolling using a modifier key
2019-08-10 19:45:41 +02:00
Daniel Imms
9315b50897
Use createInstance on service hungry objects
2019-07-13 22:56:54 -07:00
Daniel Imms
9aaaf6d8db
Move Viewport to browser
2019-07-13 17:50:43 -07:00