Apply facing-line rule to input border as well

Visible input border suppressed separator even when it draws no line
toward list section (bottom in default layout, top in reverse, vertical).
Suppress only when input border has a line on the list side; otherwise
fall through to adjacent section check.

- Requires header window to have content before treating it as facing
  section; hasHeaderWindow returns true with empty header when input
  border is visible
- Extract inputBorderFacesList and resolveInputBorderShape shared by
  options and terminal
- Add tests for separator suppression rules
This commit is contained in:
Junegunn Choi
2026-07-18 13:21:28 +09:00
parent c60bcf67a5
commit 9e2006306a
4 changed files with 150 additions and 11 deletions
+4
View File
@@ -10,6 +10,10 @@ CHANGELOG
# Separator shown; no border separates the input section from the list section
fzf --style full --input-border none --header foo --no-header-border
# Conversely, separator is now shown when the input border does not draw
# a line facing the list section
fzf --input-border bottom
```
- Rendering improvements
- Each frame is now wrapped in synchronized update mode (mode 2026) to reduce flickering on supported terminals