Commit graph

46 commits

Author SHA1 Message Date
Loric ANDRE d45f4c41fe fix: always make ctrl-d abort (closes #941) 2026-01-29 18:23:10 +01:00
LoricAndre 55b50cb3bf
feat: add --normalize to ignore accents etc. when matching (closes #453) (#914)
* feat: add `--normalize` to ignore accents etc. when matching (closes #453)

* chore: generate completions & manpage

* chore: merge master

* chore: generate completions & manpage

* chore: use a matcher engine for normalization

* chore: reset useless changes

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-27 14:04:51 +00:00
phanium a99cae3ca2
fix: clear screen when not in fullscreenon bash & fish (#936)
* fix: clear screen when not in fullscreen

`SKIM_DEFAULT_OPTIONS= sk --height=90%` don't clear screen on exit.

It don't use alt screen so we clear the screen manually on exit.

* fixup! fix: clear screen when not in fullscreen

* test: use explicit escape key and move to platform-specific

---------

Co-authored-by: Loric ANDRE <loric.andre@pm.me>
2026-01-27 09:51:20 +00:00
Loric ANDRE 5eb9703547 feat: parse ansi codes in prompt 2026-01-26 13:37:32 +01:00
LoricAndre 5d938b05fe
fix: make select-1 and exit-0 work again (closes #916) (#933) 2026-01-26 13:14:51 +01:00
Loric ANDRE 788eb81334 tests: review snapshots 2026-01-25 21:56:28 +01:00
Loric ANDRE 6a6fea3e3a fix: header and header-lines order in reverse layout 2026-01-25 21:40:30 +01:00
Loric ANDRE 94c4bd51fe fix: correct cursor position when using reverse and border (closes #928) 2026-01-25 19:25:42 +01:00
Loric ANDRE 7ff7b01031 fix: correctly compute character width for cursor display (closes #929) 2026-01-25 10:41:57 +01:00
LoricAndre ec0658a9d4
feat: add borders to all widgets (#930) 2026-01-25 10:36:28 +01:00
Loric ANDRE a6613e4559 fix: re-enable query/cmd-query distinction and switching 2026-01-24 16:47:55 +01:00
Loric ANDRE 505c5deae7 fix: correctly toggle prompt on ToggleInteractive (closes #925) 2026-01-24 11:06:00 +01:00
LoricAndre 1536eb9657
feat: add --remote flag to call remote (--listen) instances (#915)
* feat: add `--remote` flag to call remote (`--listen`) instances

* chore: generate completions & manpage

* docs: update docs

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-23 18:19:43 +00:00
Loric ANDRE 47e547a9ad tests: remove insta_ prefixes after finalizing tests migration 2026-01-23 17:58:05 +01:00
Loric ANDRE 96a4c69646 fix: correctly merge styles & do not reset them by default (#918) 2026-01-23 11:50:44 +01:00
Loric ANDRE 16ef0f4a27 fix: do not override {} with {q} in interactive mode 2026-01-22 21:34:40 +01:00
Mathieu Lemay 554896db64
fix: Escape last ; in env var value before passing to tmux (#912)
* fix: Escape last ; in env var value before passing to tmux

* Use shell_quote for more robust quoting

* Use Sh quoting always

* Revert to original escaping, add test

---------

Co-authored-by: LoricAndre <57358788+LoricAndre@users.noreply.github.com>
2026-01-22 16:49:18 +00:00
LoricAndre 3c5b2d4209
fix: correctly expand {+} to current when no items are selected (cl… (#913)
* fix: correctly expand `{+}` to current when no items are selected (closes #910)

* chore: generate completions & manpage

* test: add printf_plus unit tests

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-22 11:28:58 +00:00
Loric ANDRE 662e92f835 fix: make case option work with non-ascii input (closes #454) 2026-01-22 00:12:18 +01:00
LoricAndre 79672e348f
feat: add set-query action to update the input (closes #657) (#907)
* feat: add `set-query` action to update the input (closes #657)

* chore: generate completions & manpage

* test: add set_query tests

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-21 22:42:26 +00:00
LoricAndre 1ee19d3caa
feat: split-match (#906)
* wip: split-match

* chore: generate completions & manpage

* chore: use engine factory for split match

* chore: generate completions & manpage

* docs: update README.md with new option [skip ci]

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-21 18:35:30 +01:00
LoricAndre 6d0c310bea
test: use insta for applicable integration tests, making them cross-p… (#903)
* test: use insta for applicable integration tests, making them cross-platform

* fix: remove @cmd from insta tests

* fix: remove @cmd from insta tests

* fix: use printf instead of echo
2026-01-21 15:41:20 +01:00
Loric ANDRE 6848e5afb6 fix: allow layout to override reverse (closes #901) 2026-01-21 09:15:47 +01:00
LoricAndre 4d4a33542d
feat: add no-strip-ansi flag (#898)
* feat: add no-strip-ansi flag

* chore: generate completions & manpage

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-20 14:31:41 +01:00
Loric ANDRE 52bf6a247b fix: use ansi-stripped raw item in preview expansion 2026-01-20 09:48:06 +01:00
Loric ANDRE 102f7c79f2 test: fix preview_nul 2026-01-19 22:59:48 +01:00
Loric ANDRE 9d486b78fa fix: use item output for fields 2026-01-19 22:55:48 +01:00
LoricAndre f03894c25b
test: fix wrap test (#896)
* test: fix wrap test

* chore: generate completions & manpage

* fix: fix test

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-19 21:17:42 +01:00
Loric ANDRE 33833ff5a6 fix: preview on large binaries does not hang or mangle the tui 2026-01-19 19:42:48 +01:00
Loric ANDRE 3e0cbd1e06 feat: wrap items 2026-01-19 17:17:13 +01:00
Loric ANDRE d17f5bd95d test: fix flaky tests 2026-01-17 19:39:24 +01:00
Loric ANDRE 8e25217a01 fix: matcher race condition at startup 2026-01-17 00:19:59 +01:00
Loric ANDRE f608ef9d24 feat: add print-header flag (and readd print-score) (closes #470) 2026-01-16 23:34:30 +01:00
Loric ANDRE 7c9b7194e0 test: remove useless listen tests 2026-01-16 22:32:58 +01:00
LoricAndre e25e166003
fix(ui): use current highlight for the current item (closes #889) (#890)
* fix(ui): use current highlight for the current item (closes #889)

* fix: misc
2026-01-16 17:54:02 +01:00
Loric ANDRE 577025224e fix: correctly parse wrap arg in preview options 2026-01-16 16:27:20 +01:00
LoricAndre 3782ae85e1
fix: fix listen flag on macos (#888)
* test: add vanilla test

* test: add vanilla test

* test: add vanilla test

* chore: better error

* fix: @dbg never times out

* chore: increase timeout

* chore: increase timeout

* fix: allow listen tests to retry
2026-01-16 15:58:07 +01:00
Loric ANDRE 1bf7b5266a test: add tests for listen flag 2026-01-16 10:01:28 +01:00
Loric ANDRE 60f4c1d17b feat: add disabled flag (closes #500) 2026-01-15 14:11:53 +01:00
Loric ANDRE 48e60a932c feat: add cycle flag (closes #553) 2026-01-15 12:28:29 +01:00
Loric ANDRE c7ae5bf1a2 feat(ui): allow setting modifiers (closes #871) 2026-01-15 10:35:09 +01:00
Loric ANDRE 56f3ff76c4 feat(ui): add selector and multi-selector options to set the itemlist icons 2026-01-14 21:16:59 +01:00
Loric ANDRE fe3f470b8a fix(cmd)!: always use sh for all command executions 2026-01-14 19:14:10 +01:00
LoricAndre bd7af947e3
fix: manually acquire cursor pos (closes #885) (#886)
* fix: manually acquire cursor pos (closes #885)

* chore: bump version

* chore: generate completions & manpage

* chore: revert crate upgrades

* chore: generate completions & manpage

---------

Co-authored-by: Loric André <loric.andre@noreply.me>
Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-14 16:07:53 +01:00
LoricAndre 904ec2fa3e
chore: remove unneeded deps (#884)
* chore: remove unneeded deps

* chore: generate completions & manpage

* chore: remove unneeded deps

* chore: fix PR template tests link

---------

Co-authored-by: Loric André <loric.andre@noreply.me>
Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
2026-01-13 12:00:44 +01:00
LoricAndre c364c5f128
chore: remove workspace (#883)
* chore: remove workspace

* chore: regen dist config

* fix: readme path

* chore: extra-artifacts as files

* chore: generate dist CI

* chore: prepare for prerelease

* chore: switch to include + generate-files

* chore: use run step for generate-files

---------

Co-authored-by: Loric André <loric.andre@noreply.me>
2026-01-13 11:34:10 +01:00