Skip to content

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

aider: Removed the commented out 'handleReviseKey' function.

Dane Schneiderc7c2a89b1ef0
diff --git a/cli/lib/term.go b/cli/lib/term.go
index d7096571..dedac667 100644
--- a/cli/lib/term.go
+++ b/cli/lib/term.go
@@ -39,28 +39,6 @@ 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 {