Description
Extend the TUI for the commit command to handle additional key bindings:
e (Edit): Opens the system editor with the current commit message, allowing the user to modify and save it.
r (Regenerate): Reruns the AI prompt to regenerate the commit message.
Expected Behavior
- Pressing
e should open the default editor (based on $EDITOR or $VISUAL environment variables).
- After editing and saving, the updated message should be reflected in the TUI.
- Pressing
r should trigger the same logic used during initial AI generation.
Context
Currently, only commit confirmation and cancelation is supported in the TUI.
Adding these key bindings improves usability by allowing message tweaks or regeneration without exiting the interface.