Skip to content

Feature Request: Implement edit and regenerate function for commit message  #20

@artback

Description

@artback

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions