diff --git a/packages/kittik-deck/src/Deck.ts b/packages/kittik-deck/src/Deck.ts index 75c05ed..5b16e38 100644 --- a/packages/kittik-deck/src/Deck.ts +++ b/packages/kittik-deck/src/Deck.ts @@ -112,6 +112,8 @@ export class Deck extends EventEmitter { // eslint-disable-next-line class-methods-use-this public exit (): void { + if (this.isRendering) return; + process.stdin.pause(); process.stdin.removeAllListeners();