-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pull AccessibleBuffer
out of AccessibilityManager
#4400
Conversation
@@ -576,6 +578,8 @@ export class Terminal extends CoreTerminal implements ITerminal { | |||
// Listen for mouse events and translate | |||
// them into terminal mouse protocols. | |||
this.bindMouse(); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to put this here so that dimensions from the render service wouldn't be 0. lmk if there's a better place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the right function, I'd put it just below the AccessibilityManager
s init to be a little more organized. If you needed to move it here then something must not have been migrated to the new file correctly as it was working before when bundled into AccessibilityManager
.
Unless that only worked when toggling screenReaderMode on after Terminal was open
ed? In that case there's probably some other event we're not listening to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's where I put it originally and it didn't work, so seems like we're missing something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it needs to be after this to work
this._charSizeService.measure();
This reverts commit 6daadc4.
Not sure where the code that makes
Shift Tab
enter this mode is, but it doesn't work when not using screen reader mode. Perhaps that's fine though and will leave it up to the embedders