-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: add Java API for setting insertMode #21
Conversation
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.
Just a couple of small extra spaces to remove, but the rest LGTM
@@ -54,7 +55,7 @@ class ConsoleAddon extends TerminalAddon<IConsoleMixin> { | |||
this.cursorBackward({params:[1]}); | |||
return true; | |||
} else if (buffer.lines.get(buffer.y+buffer.ybase).isWrapped) { | |||
this.cursorPrecedingLine({params:[1]}); | |||
this.cursorPrecedingLine({params:[1]}); |
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.
Can we discard this unneeded change?
@@ -185,13 +181,27 @@ type Constructor<T = {}> = new (...args: any[]) => T; | |||
export function XTermConsoleMixin<TBase extends Constructor<TerminalMixin>>(Base: TBase) { | |||
return class XTermConsoleMixin extends Base implements IConsoleMixin { | |||
escapeEnabled: Boolean; | |||
|
|||
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.
And also this one
1dbd4ed
to
2556742
Compare
2556742
to
bf79502
Compare
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.
LGTM
The use of hardcoded DECSCUSR sequences (#19) is not correct, but that's a different issue.