m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00
Files
fzf/src
Junegunn Choi 39db026161 Fix inconsistent placement of header-lines with border options
fzf displayed --header-lines inconsistently depending on the presence of borders:

  # --header and --header-lines co-located
  seq 10 | fzf --header-lines 3 --header "$(seq 101 103)" --header-first

  # --header and --header-lines separated
  seq 10 | fzf --header-lines 3 --header "$(seq 101 103)" --header-first --header-lines-border

This commit fixes the inconsistency with the following logic:

* If only one of --header or --header-lines is provided, --header-first
  applies to that single header.
* If both are present, --header-first affects only the regular --header,
  not --header-lines.
2025-06-10 23:02:23 +09:00
..
2025-03-16 01:57:20 +09:00
2021-02-28 18:28:21 +09:00
2023-07-16 17:14:22 +09:00
2016-08-19 02:39:32 +09:00
2024-01-01 15:38:35 +09:00
2024-09-29 19:33:42 +09:00
2024-09-29 19:33:42 +09:00
2024-11-03 20:12:47 +09:00
2025-04-11 20:38:16 +09:00
2022-03-29 21:23:45 +09:00
2022-03-29 21:23:45 +09:00
2024-08-29 16:41:52 +09:00
2024-08-29 16:41:52 +09:00