mirror of
https://github.com/charmbracelet/gum.git
synced 2024-09-11 06:16:03 +03:00
refactor: don't trim newline if we are going to Println
anyway
Just use `Print` with the newline
This commit is contained in:
parent
73518ef21b
commit
81602545a6
@ -98,7 +98,7 @@ func (o Options) Run() error {
|
||||
}
|
||||
}
|
||||
|
||||
fmt.Println(strings.TrimSuffix(s.String(), "\n"))
|
||||
fmt.Print(s.String())
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user