diff --git a/src/tui/components/custom-editor.ts b/src/tui/components/custom-editor.ts index 7cec6718e..526584498 100644 --- a/src/tui/components/custom-editor.ts +++ b/src/tui/components/custom-editor.ts @@ -36,7 +36,11 @@ export class CustomEditor extends Editor { this.onShiftTab(); return; } - if (matchesKey(data, Key.escape) && this.onEscape && !this.isShowingAutocomplete()) { + if ( + matchesKey(data, Key.escape) && + this.onEscape && + !this.isShowingAutocomplete() + ) { this.onEscape(); return; }