Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

Revert "aider: Removed the commented out 'handleReviseKey' function."

Dane Schneidere472b7c8a332
diff --git a/cli/lib/term.go b/cli/lib/term.go
index dedac667..d7096571 100644
--- a/cli/lib/term.go
+++ b/cli/lib/term.go
@@ -39,6 +39,28 @@ func handleAbortKey(proposalId string) error {
return Abort(proposalId)
}
+// // Function for 'r' key action
+// func handleReviseKey(proposalId string) error {
+// // Terminate current operation
+// err := Api.Abort(proposalId)
+// if err != nil {
+// return err
+// }
+
+// // Prompt the user for new message
+// fmt.Println(">\"")
+// reader := bufio.NewReader(os.Stdin)
+// newMessage, _ := reader.ReadString('"')
+
+// // Propose the new message
+// err = Propose(newMessage)
+// if err != nil {
+// return err
+// }
+
+// fmt.Println("Revision proposed.")
+// return nil
+// }
func handleKeyPress(input rune, proposalId string) error {
switch input {