fix: align CustomEditor with pi-tui Editor API

This commit is contained in:
Peter Steinberger
2026-01-20 14:35:09 +00:00
parent 15e5bb3459
commit d18319a57d

View File

@@ -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();