Skip to content
Myr

Clear characters on 1-column margin after the preview window on the left

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

  • other:+8 added−0 removed

1 file+8 added−0 removed

modified:src/terminal.go+8 added
1450 unmodified lines
1451 }1452 // Add a 1-column margin between the preview window and the main window1453 t.window = t.tui.NewWindow(1454 marginInt[0], marginInt[3]+pwidth+1, width-pwidth-1, height, false, noBorder)14551456 // Clear characters on the margin1457 // fzf --bind 'space:preview(seq 100)' --preview-window left,11458 for y := 0; y < height; y++ {1459 t.window.Move(y, -1)1460 t.window.Print(" ")1461 }14621463 createPreviewWindow(marginInt[0], marginInt[3], pwidth, height)1464 } else {1465 t.window = t.tui.NewWindow(1466 marginInt[0], marginInt[3], width-pwidth, height, false, noBorder)
2836 unmodified lines