mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-29 13:26:35 -04:00
Strip carriage returns from user input
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ func editNote(baseNote []string) ([]string, bool) {
|
||||
note = append(note, scanner.Text())
|
||||
}
|
||||
|
||||
// close the tempFile
|
||||
// close tempFile
|
||||
tempFile.Close()
|
||||
|
||||
// return the edited note if it is different from baseNote
|
||||
|
||||
Reference in New Issue
Block a user