AndreasAugustin / go-gitmoji-cli

:octocat: A conventional gitmoji commit interactive command line tool for using emojis on conventional commits. :rocket:
https://gitmoji.dev/
MIT License
8 stars 0 forks source link

[Bug]: ctrl + C -> unexpected behaviour #23

Closed AndreasAugustin closed 1 year ago

AndreasAugustin commented 1 year ago

Is there an existing issue for this?

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