AndreasAugustin / go-gitmoji-cli

:octocat: A conventional gitmoji commit interactive command line tool for using emojis on conventional commits. :rocket:

Home Page:https://gitmoji.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: ctrl + C -> unexpected behaviour

AndreasAugustin opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

In some scenarios one like to close the current session. Normally ctrl + C is doing such a thing in most tty.

But the current implementation will lead in most cases to next prompt

Expected Behavior

ctrl + C should terminate the go-gitmoji-cli session

Current Behavior

in most cases the next prompt will be opened.

Steps To Reproduce

  1. use config or commit cmd
  2. press ctrl + C
  3. next prompt will open

Possible Solution

check the keymap within the UI elements

Additional Information/Context

No response

go-gitmoji-cli Version

v0.1.0-pre-alpha