Skip to content
Myr

Run preview command when preview window appears after CTRL-Z

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

https://github.com/junegunn/fzf/commit/80b88463188ff78719f23cb2e1dca5f27227879e

authored by Junegunn Choi · committed by Junegunn Choi · parent d34675d · Browse files · 1 file+4 added−4 removed
This commit

State

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

Trailers

  • https: //github.com/junegunn/fzf/commit/80b88463188ff78719f23cb2e1dca5f27227879e

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:src/terminal.go+4 added-4 removed
5182 unmodified lines
5183 case reqRedrawBorderLabel:5184 t.printLabel(t.border, t.borderLabel, t.borderLabelOpts, t.borderLabelLen, t.borderShape, true)5185 case reqRedrawPreviewLabel:5186 t.printLabel(t.pborder, t.previewLabel, t.previewLabelOpts, t.previewLabelLen, t.activePreviewOpts.Border(), true)5187 case reqReinit:5188 t.tui.Resume(t.fullscreen, true)5189 t.fullRedraw()5190 case reqResize, reqFullRedraw, reqRedraw:5187 case reqReinit, reqResize, reqFullRedraw, reqRedraw:5188 if req == reqReinit {5189 t.tui.Resume(t.fullscreen, true)5190 }5191 if req == reqResize {5192 t.termSize = t.tui.Size()5193 }5194 wasHidden := t.pwindow == nil
1727 unmodified lines