Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Change line separator from \r to \n
Browse files Browse the repository at this point in the history
  • Loading branch information
puffrfish committed Aug 26, 2017
1 parent 2b882e6 commit 79db5e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion environments/standard.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (s *standard) ExecuteInMainProcess(cmd string) (err error) {
return
}
stdIn := s.stdInWriter
_, err = io.WriteString(stdIn, cmd+"\r")
_, err = io.WriteString(stdIn, cmd+"\n")
return
}

Expand Down
2 changes: 1 addition & 1 deletion environments/tty.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (s *tty) ExecuteInMainProcess(cmd string) (err error) {
return
}
stdIn := s.stdInWriter
_, err = io.WriteString(stdIn, cmd+"\r")
_, err = io.WriteString(stdIn, cmd+"\n")
return
}

Expand Down

0 comments on commit 79db5e4

Please sign in to comment.