Skip to content
Myr

Fix bug where screen is not properly cleared on toggle-preview

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 e5017c0 · Browse files · 1 file+1 added−0 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−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/terminal.go+1 added
1358 unmodified lines
1359 return false1360 case actTogglePreview:1361 if t.hasPreviewWindow() {1362 t.previewer.enabled = !t.previewer.enabled1363 t.tui.Clear()1364 t.resizeWindows()1365 cnt := t.merger.Length()1366 if t.previewer.enabled && cnt > 0 && cnt > t.cy {1367 t.previewBox.Set(reqPreviewEnqueue, t.currentItem())
324 unmodified lines