Skip to content

Commit

Permalink
fix(engine): restore the use of newline everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Nov 26, 2024
1 parent 72fec1f commit dfcccaa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/prompt/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ func (e *Engine) pwd() {
func (e *Engine) getNewline() string {
newline := "\n"

switch e.Env.Shell() {
case shell.PWSH, shell.PWSH5:
newline = "\r\n"
}

if e.Plain || e.Env.Flags().Debug {
return newline
}
Expand Down

0 comments on commit dfcccaa

Please sign in to comment.