Ability to modify message #10
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: evolix/evomaintenance#10
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sometimes I push enter too fast...
But, after typing your message you'll have:
I propose to add an
e(dit)
option to modify your message.Il faudrait utiliser GNU readline à la place de
read
mais il faut s'assurer quereadline
soit installé.It seems that what @benpro is proposing is different than what @bwaegeneire is proposing.
Being able to edit the message before final validation doesn't imply using a different "read". We just need to reenter the message editing function (or something like that).
Being able to edit the message while typing is a more complex subject. We obviously can delete characters from end to beginning, letter by letter, but it would be nice to have "full" navigation with arrows, Ctrl-A. We should verify if
read -e
does the trick and if so we can easily have a conditional to use if if available.Right, I confused the two issues... My bad.
This is a good idea, that is compatible with my proposal in #13.
Even if we can navigate in the comment while typing, we can still want to edit it after typing Enter (spelling mistake, change of mind, Enter pushed too fast...).