mirror of
https://github.com/charmbracelet/gum
synced 2024-06-03 06:12:19 +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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue