wiki-cli icon indicating copy to clipboard operation
wiki-cli copied to clipboard

Character "c" terminates process

Open e-oloughlin opened this issue 4 years ago • 3 comments

Typing the character "c" as part of any keyword terminates the process, making it impossible to search for anything containing the letter "c".

I am running Mac OS 11.3.1

e-oloughlin avatar May 14 '21 18:05 e-oloughlin

it is because of line #11 of /src/components/App/Footer.tsx if (input === "c") { store.isCleanUpTime = true; process.exit(0);

candanbolukbas avatar Nov 16 '21 04:11 candanbolukbas

I've just created a pull request #18 fixing this issue. Now, the escape key is used for exiting the process instead.

LucasAschenbach avatar Mar 01 '22 00:03 LucasAschenbach