Skip to content
Myr

Fix rendering error when hiding a preview window without border

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

This was a regression introduced in cdcab267. Fix #4465

authored by Junegunn Choi · committed by Junegunn Choi · parent 08027e7 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/tui/tui.go+1 added-1 removed
502 unmodified lines
503504func MakeBorderStyle(shape BorderShape, unicode bool) BorderStyle {505 if shape == BorderNone || shape == BorderPhantom {506 return BorderStyle{507 shape: shape,507 shape: BorderRounded,508 top: ' ',509 bottom: ' ',510 left: ' ',511 right: ' ',
641 unmodified lines