mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-09 03:49:27 +00:00
Do not add a trailing newline when wrapping
This commit is contained in:
parent
e42b4fd9a6
commit
924cd4cadd
4 changed files with 8 additions and 7 deletions
|
|
@ -37,6 +37,7 @@ func (self *Command) ShowVersion() {
|
|||
func format_with_indent(output io.Writer, text string, indent string, screen_width int) {
|
||||
indented := style.WrapText(text, indent, screen_width, "#placeholder_for_formatting#")
|
||||
io.WriteString(output, indented)
|
||||
io.WriteString(output, "\n")
|
||||
}
|
||||
|
||||
func (self *Command) FormatSubCommands(output io.Writer, formatter *markup.Context, screen_width int) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue