fix: align CustomEditor with pi-tui Editor API
This commit is contained in:
parent
15e5bb3459
commit
d18319a57d
@ -15,7 +15,6 @@ export class CustomEditor extends Editor {
|
||||
constructor(theme: EditorTheme) {
|
||||
super(theme);
|
||||
}
|
||||
|
||||
handleInput(data: string): void {
|
||||
if (matchesKey(data, Key.alt("enter")) && this.onAltEnter) {
|
||||
this.onAltEnter();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user