mirror of
https://github.com/junegunn/fzf.git
synced 2026-08-14 11:51:05 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user