mirror of
https://github.com/charmbracelet/gum
synced 2024-05-20 23:26:43 +02: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 a new issue