fix: align CustomEditor with pi-tui Editor API
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user