mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-07 06:28:34 +00:00
Compare commits
No commits in common. "fb3bf6c9841d849ec459fc6b251b4aa0f16d8038" and "c2e1861747ba4cdf85d5b9942eadd742d6d4c3f0" have entirely different histories.
fb3bf6c984
...
c2e1861747
2
.github/workflows/typos.yml
vendored
2
.github/workflows/typos.yml
vendored
@ -7,4 +7,4 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: crate-ci/typos@v1.28.4
|
- uses: crate-ci/typos@v1.28.2
|
||||||
|
3
Makefile
3
Makefile
@ -1,3 +1,4 @@
|
|||||||
|
SHELL := bash
|
||||||
GO ?= go
|
GO ?= go
|
||||||
GOOS ?= $(shell $(GO) env GOOS)
|
GOOS ?= $(shell $(GO) env GOOS)
|
||||||
|
|
||||||
@ -13,7 +14,7 @@ endif
|
|||||||
ifeq ($(VERSION),)
|
ifeq ($(VERSION),)
|
||||||
$(error Not on git repository; cannot determine $$FZF_VERSION)
|
$(error Not on git repository; cannot determine $$FZF_VERSION)
|
||||||
endif
|
endif
|
||||||
VERSION_TRIM := $(shell echo $(VERSION) | sed "s/^v//; s/-.*//")
|
VERSION_TRIM := $(shell sed "s/^v//; s/-.*//" <<< $(VERSION))
|
||||||
VERSION_REGEX := $(subst .,\.,$(VERSION_TRIM))
|
VERSION_REGEX := $(subst .,\.,$(VERSION_TRIM))
|
||||||
|
|
||||||
ifdef FZF_REVISION
|
ifdef FZF_REVISION
|
||||||
|
@ -3181,28 +3181,17 @@ func (t *Terminal) printAll() {
|
|||||||
func (t *Terminal) flush() {
|
func (t *Terminal) flush() {
|
||||||
t.placeCursor()
|
t.placeCursor()
|
||||||
if !t.suppress {
|
if !t.suppress {
|
||||||
windows := make([]tui.Window, 0, 7)
|
windows := make([]tui.Window, 0, 4)
|
||||||
if t.border != nil {
|
if t.borderShape.Visible() {
|
||||||
windows = append(windows, t.border)
|
windows = append(windows, t.border)
|
||||||
}
|
}
|
||||||
if t.pborder != nil {
|
if t.hasPreviewWindow() {
|
||||||
windows = append(windows, t.pborder)
|
if t.pborder != nil {
|
||||||
}
|
windows = append(windows, t.pborder)
|
||||||
if t.pwindow != nil {
|
}
|
||||||
windows = append(windows, t.pwindow)
|
windows = append(windows, t.pwindow)
|
||||||
}
|
}
|
||||||
if t.wborder != nil {
|
windows = append(windows, t.window)
|
||||||
windows = append(windows, t.wborder)
|
|
||||||
}
|
|
||||||
if t.window != nil {
|
|
||||||
windows = append(windows, t.window)
|
|
||||||
}
|
|
||||||
if t.inputBorder != nil {
|
|
||||||
windows = append(windows, t.inputBorder)
|
|
||||||
}
|
|
||||||
if t.inputWindow != nil {
|
|
||||||
windows = append(windows, t.inputWindow)
|
|
||||||
}
|
|
||||||
t.tui.RefreshWindows(windows)
|
t.tui.RefreshWindows(windows)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user