junegunn
9a6e557e52
Deploying to master from @ junegunn/fzf@4fdc07927f 🚀
2025-01-12 00:02:26 +00:00
Junegunn Choi
4fdc07927f
Refactor --preview-border=line
2025-01-11 19:34:26 +09:00
Junegunn Choi
9030b67e4f
Fix window sizing with borders on the right
2025-01-11 11:39:51 +09:00
Junegunn Choi
43eafdf4b7
Fix preview scrollbar with '--preview-window bottom,border-line'
2025-01-11 00:53:07 +09:00
Junegunn Choi
dfb88edb5e
Make preview-scrollbar color conditionally inherit from scrollbar color
2025-01-11 00:51:49 +09:00
Junegunn Choi
bd3e65df4d
Trim unsupported OSC sequences ( #4169 )
...
Fix #4169
2025-01-10 20:53:47 +09:00
Junegunn Choi
d7b13f3408
Add a test case for the mixed delimiter ANSI sequence ( #4169 )
2025-01-10 20:31:51 +09:00
Junegunn Choi
14ef8e8051
Support ANSI sequences with mixed ; and : delimiters ( #4169 )
...
`make bench` shows no loss of performance.
2025-01-10 17:43:13 +09:00
bitraid
cc1d9f124e
[fish] Fix history formatting when perl is missing ( #4166 )
...
Don't add tab after escaped newline.
2025-01-10 14:03:21 +09:00
Kid
93c0299606
[fish] remove defunct bind feature detection ( #4165 )
2025-01-09 19:16:24 +09:00
Junegunn Choi
55e3c73221
fzf-preview.sh: Support FILEPATH:LINE[:COL] argument
2025-01-09 17:00:46 +09:00
Junegunn Choi
6783417504
Do not export $LINES and $COLUMNS for non-preview processes
...
Fix #4164
2025-01-08 10:00:57 +09:00
Junegunn Choi
fa3f706e71
Refactor option parser
2025-01-07 19:16:41 +09:00
Junegunn Choi
9c2f6cae88
Fix adaptive height with --header-border
2025-01-07 19:16:16 +09:00
Junegunn Choi
a30181e240
Update man page sections
2025-01-07 00:20:36 +09:00
dependabot[bot]
b4ccf64e62
Bump golang.org/x/term from 0.27.0 to 0.28.0 ( #4162 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/term/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 23:36:41 +09:00
Junegunn Choi
88d768bf6b
Restructure --help output
2025-01-06 23:34:14 +09:00
Junegunn Choi
6444cc7905
Render preview label if possible when --preview-border=line
2025-01-06 10:09:59 +09:00
Junegunn Choi
328af1f397
Remove header indentation when unnecessary
...
# Indent the header to align with the entries in the list
fzf --header 'Hello' --header-border --list-border
# No extra indentation required
fzf --header 'Hello' --header-border
2025-01-06 09:57:58 +09:00
Junegunn Choi
5ae60e2e80
Add style presets: --style=[default|minimal|full]
...
Close #4160
2025-01-06 02:10:44 +09:00
Junegunn Choi
0e0b868342
Add preview border style 'line'
...
It draws a single line between the preview window and the rest of the
interface. i.e. automatically choose between 'left', 'right', 'top', and
'bottom' depending on the position of the preview window.
2025-01-06 00:44:59 +09:00
Junegunn Choi
a5beb08ed7
Border around the header section
...
Close #4159
2025-01-05 23:02:52 +09:00
Junegunn Choi
45fc7b903d
[install] Unset FZF_DEFAULT_OPTS when checking the binary
2025-01-05 11:33:40 +09:00
junegunn
4f2c274942
Deploying to master from @ junegunn/fzf@93415493b4 🚀
2025-01-05 00:02:19 +00:00
phanium
93415493b4
fix: make header align with list ( #4158 )
2025-01-05 01:13:23 +09:00
Junegunn Choi
8e4d338de9
Fix adaptive height in the presence of --list-border and --input-border
...
seq 10 | fzf --height=~100%
2025-01-04 19:19:18 +09:00
Junegunn Choi
8a71e091a8
Fix '--tmux border-native'
2025-01-04 18:47:00 +09:00
Andreas Auernhammer
120cd7f25a
Add border-native
option to --tmux
flag ( #4157 )
...
This commit adds the `border-native` resulting in the following:
```
--tmux[=[center|top|bottom|left|right][,SIZE[%]][,SIZE[%]][,border-native]]
```
By default, when not specified, the `-B` flag is passed to the
`tmux popup-window` command such that no border is drawn around
the tmux popup window.
When the `border-native` option is present, the `-B` flag is omitted
and the popup window is drawn using the border style configured in
the tmux config file.
Fixes #4156
Signed-off-by: Andreas Auernhammer <github@aead.dev>
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2025-01-04 18:30:32 +09:00
Junegunn Choi
fb3bf6c984
Fix cursor placement of tcell renderer
2025-01-03 19:56:07 +09:00
dependabot[bot]
d57e1f8baa
Bump crate-ci/typos from 1.28.2 to 1.28.4 ( #4141 )
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.28.2 to 1.28.4.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.28.2...v1.28.4 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-03 13:49:18 +09:00
Minseo Kim
15ca9ad8eb
Replace bash to sh in Makefile ( #4138 )
...
Some operating systems do not ship with bash by default, e.g. BSDs,
which breaks the build.
2025-01-03 13:48:51 +09:00
Junegunn Choi
c2e1861747
Update --help output
2025-01-02 23:54:59 +09:00
Junegunn Choi
543d41f3dd
Do not try to print anything is screen height is zero
2025-01-02 23:44:47 +09:00
Junegunn Choi
e5cfc988ec
Fix RuboCop error
2025-01-02 16:55:56 +09:00
Junegunn Choi
ee3916be17
Border around the input section (prompt + info)
...
Close #4154
2025-01-02 16:25:00 +09:00
Junegunn Choi
fd513f8af8
Add missing --list-border=* parser
...
Patch suggested by @bitraid
2024-12-31 19:39:46 +09:00
Junegunn Choi
9a2b7f559c
Add --list-border for additional border around the list section
...
Close #4148
2024-12-31 17:05:14 +09:00
junegunn
b8d2b0df7e
Deploying to master from @ junegunn/fzf@fe3a9c603e 🚀
2024-12-29 00:02:16 +00:00
Hong Xu
fe3a9c603e
fzf-preview.sh: Don't include the file name in type information ( #4143 )
...
Reduce the changes of misjudging the type, e.g., when file is under an `image/`
directory.
2024-12-26 14:58:10 +09:00
junegunn
97030d4cb1
Deploying to master from @ junegunn/fzf@b2c3e567da 🚀
2024-12-22 00:02:14 +00:00
bitraid
b2c3e567da
[fish] Partly revert change of 0167691
( #4137 )
...
Don't use the `-f` switch of `string split`, because it was added in
fish version 3.2.0.
2024-12-20 10:05:09 +09:00
Junegunn Choi
ca5e633399
Add toggle-hscroll
2024-12-19 21:05:26 +09:00
Junegunn Choi
e60a9a628b
Add toggle-multi-line action
2024-12-19 21:05:26 +09:00
bitraid
0167691941
[fish] Small syntax modification of some commands
...
No actual change, just for consistency with the rest of the code.
2024-12-19 20:50:04 +09:00
bitraid
3b0f976380
[fish] Enable home dir expansion of leading ~/
...
Enable expanding to user's home directory, when pressing <Ctrl-T> or
<Alt-C>, and the current command line token starts with `~/`.
2024-12-19 20:50:04 +09:00
bitraid
7bd298b536
[fish] Don't strip leading dot (.) character
...
Fix the removal of the leading dot character from the query, when
<Ctrl-T> was pressed and the current command line token started with a
dot. It was also removed when <Alt-C> was pressed and the directory
didn't exist under the current path.
2024-12-19 20:50:04 +09:00
Junegunn Choi
0476a65fca
0.57.0
2024-12-15 17:04:04 +09:00
junegunn
2cb2af115a
Deploying to master from @ junegunn/fzf@789226ff6d 🚀
2024-12-15 00:02:31 +00:00
Junegunn Choi
789226ff6d
Fix test failure
...
cdcab26
removed excessive clearing of the windows. But it caused the
problem where the right side of the preview window border was not
cleared when hiding the preview window with the scrollbar disabled.
2024-12-14 22:42:40 +09:00
Junegunn Choi
805efc5bf1
Remove unused interface
2024-12-14 22:31:39 +09:00