lalvarezt
26db5a95d0
feat(frecency): initial frecency support
2025-07-28 14:17:25 +02:00
Alex Pasmantier
098f3f4fe4
feat: ansi-styled results with --ansi
or corresponding channel option ( #655 )
...
# Examples:
## ripgrep
```toml
[metadata]
name = "text"
description = "A channel to find and select text from files"
requirements = ["rg", "bat"]
[source]
command = "rg . --no-heading --line-number --colors 'match:fg:white' --colors 'path:fg:blue' --color=always"
ansi = true
output = "{strip_ansi|split:\\::..2}"
[preview]
command = "bat -n --color=always '{strip_ansi|split:\\::0}'"
env = { BAT_THEME = "ansi" }
offset = '{strip_ansi|split:\::1}'
[ui]
preview_panel = { header = '{strip_ansi|split:\::..2}' }
```
<img width="2880" height="1620" alt="Screenshot From 2025-07-19
20-56-53"
src="https://github.com/user-attachments/assets/67055fd1-d03e-4c4b-ad82-dbc3ba8c80d4 "
/>
## git-log
```toml
[metadata]
name = "git-log"
description = "A channel to select from git log entries"
requirements = ["git", "delta"]
[source]
command = "git log --graph --pretty=format:'%C(yellow)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --color=always"
output = "{strip_ansi|split: :1}"
ansi = true
[preview]
command = "git show -p --stat --pretty=fuller --color=always '{strip_ansi|split: :1}' | delta"
```
<img width="2880" height="1620" alt="Screenshot From 2025-07-19
19-17-15"
src="https://github.com/user-attachments/assets/be97ff35-8a35-4d26-ad14-afd5ece3fed6 "
/>
2025-07-19 22:52:12 +02:00
alexandre pasmantier
c533c41540
chore: release version 0.12.5
2025-07-18 02:35:03 +02:00
alexandre pasmantier
e87f7d30a8
chore: release version 0.12.4
2025-07-13 13:57:54 +02:00
alexandre pasmantier
d5adad0323
chore: release version 0.12.3
2025-07-13 01:16:08 +02:00
LM
20a55cf142
fix(tui): fix incorrect height calculation when there is not enough space ( #611 )
...
## 📺 PR Description
Solves #609
- The calculation of available_height for the Inline and Fixed mode were
updated to correctly account for the remaining space and the necessary
height needed for the TUI
- QoL: Refactored the viewport calculation logic for both Inline and
Fixed modes to use a shared scrolling function
(handle_viewport_scrolling).
- Docs: Added note about default minimum height
## Checklist
- [x] my commits **and PR title** follow the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/#summary ) format
- [x] if this is a new feature, I have added tests to consolidate the
feature and prevent regressions
- [ ] if this is a bug fix, I have added a test that reproduces the bug
(if applicable)
- [x] I have added a reasonable amount of documentation to the code
where appropriate
2025-07-09 16:12:19 +02:00
Alex Pasmantier
e5654fcdde
docs: add docusaurus website ( #597 )
...
credits: @kapobajza
2025-07-07 17:56:30 +02:00
LM
4ed48ccdad
feat(ui): support for non-fullscreen UI ( #578 )
...
fixes #575
2025-07-01 23:24:00 +02:00
LM
45139457a1
feat: add global/channel input history ( #573 )
...
sometimes I want to tweak the previous search, or just run it again.
this solves that problem
---------
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
2025-07-01 12:49:01 +02:00
LM
42e2728269
test(cli): new cli test suite ( #564 )
...
new set of test that cover the overall functionality of the cli
---------
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
2025-06-28 16:59:57 +02:00
LM
58d90c6d03
refactor(ui): feature based UI ( #562 )
...
- Migrate to a feature based UI
- Introduces television/features.rs with a flags-based Features type
(PREVIEW_PANEL, HELP_PANEL, STATUS_BAR, REMOTE_CONTROL).
- Per-feature configuration sections: [ui.preview_panel],
[ui.status_bar], [ui.remote_control], [ui.help_panel]
- Rename Keybinding panel ➜ Help panel
- CLI & housekeeping
- new CLI toggle --no-status-bar, updated docs and man page
- import clean up
2025-06-28 16:56:09 +02:00
LM
a2ebbb3557
refactor(cli): add validation logic + docs
...
This PR contains the following changes
- Add validation logic and dependencies
- Remove deprecated frame rate
- Bump string_pipeline to 0.12.0 (solves debug syntax from templates)
- Document cli functionality (markdown and docstrings)
---------
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
2025-06-28 16:56:09 +02:00
LM
2ecbc8a170
feat(cli): initial support for source and preview overrides, layout, take_1 and take_1_fast ( #553 )
...
Co-authored-by: Alex Pasmantier <alex.pasmant@gmail.com>
2025-06-28 16:56:09 +02:00
Alexandre Pasmantier
f887a2390e
feat(cli): add a --ui-scale
[0,100] cli parameter ( #492 )
2025-05-01 20:46:05 +02:00
Alex Pasmantier
b4438ab835
chore: bump to 0.11.8
2025-04-20 21:44:41 +02:00
Alex Pasmantier
169358442b
chore: bump to 0.11.7
2025-04-12 23:15:18 +02:00
Alexandre Pasmantier
a008d3f4b4
chore: bump to 0.11.6 ( #457 )
2025-04-09 22:02:32 +00:00
Alexandre Pasmantier
4892dc3c3c
feat(cli): add --select-1
cli flag to automatically select unique result ( #448 )
...
Adds a `--select-1` flag that enables `tv` to automatically select the
only result and exit when such a case appears.
Fixes #440
2025-04-06 22:00:04 +00:00
Alexandre Pasmantier
409d951d3c
chore: bump to 0.11.0
2025-03-20 15:39:07 +01:00
Alexandre Pasmantier
3222037a02
feat(cli): allow passing custom keybindings through the cli ( #409 )
...
Fixes #134
2025-03-19 21:59:53 +01:00
Alexandre Pasmantier
0edf224502
docs(man): add man pages for tv ( #397 )
...

2025-03-18 01:23:02 +01:00