Skip to content
Myr

Simplify code

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 66ca16f · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/tui/light.go+2 added-2 removed
1159 unmodified lines
1160 w.renderer.stderr(resetCode)1161 if len(lines) > 1 {1162 sign := w.wrapSign1163 width := w.wrapSignWidth1164 if width > w.width-w.posx {1165 runes, truncatedWidth := util.Truncate(w.wrapSign, w.width-w.posx)1164 if width > w.width {1165 runes, truncatedWidth := util.Truncate(w.wrapSign, w.width)1166 sign = string(runes)1167 width = truncatedWidth1168 }1169 w.stderrInternal(DIM+sign, false, resetCode)
90 unmodified lines