Skip to content

Commit

Permalink
add backspace support
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Jul 21, 2020
1 parent d87686f commit 99544dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/record/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ func Record(fname string) (err error) {
fmt.Printf("\r%s", currentState)
} else if key == 3 {
f.WriteString(currentState)
fmt.Println("---------------------------")
fmt.Printf("\n\nwrote to '%s'\n", fname)
fmt.Println("\n---------------------------")
fmt.Printf("\nwrote to '%s'\n", fname)
break
}
if char == rune('m') {
Expand Down

0 comments on commit 99544dd

Please sign in to comment.