aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)Author
2026-08-08sl0p: double-click a tab to rename itHEADmainuser
Double-clicking a tab in the bar switches to it and drops into RenameTab mode, matching the double-click-to-rename we added for panes in the sl0ppij zellij fork. Enter commits, Esc cancels, exactly as the rename keybind does. Widgets are held behind &self and cannot keep click state, so double-click detection lives centrally in ModuleConfig::handle_mouse_action and is passed to Widget::process_click as a flag. THE TRAP, and the reason this is not a two-line change: handle_mouse_action also runs for Mouse::Release. A single click therefore arrives as LeftClick followed by Release at the SAME position. Counting releases would make every single click register as a double click, and resetting on release would mean a real double click never registers at all, since the release falls between the two clicks. Only LeftClick participates; Release neither counts nor resets. A completed pair is consumed, so a triple click does not fire a second rename. switch_tab_to() is called before switch_to_input_mode(), because RenameTab acts on the ACTIVE tab - renaming without switching first would rename the wrong one. Threshold is 400ms, the same one zellij uses for text-selection double clicks, so the bar feels consistent with the panes. Detection is extracted as register_click_for_double_click() so it can be tested without constructing a ModuleConfig. Tests cover: a real double click, the release-in-between regression, too-slow clicks, clicks at different positions, and the triple-click case. Upstream tests still pass: 25 total (20 upstream + 5 new). Note: this repo's .cargo/config.toml targets wasm32-wasip1 and runs tests under wasmtime, which is not installed here. Tests are run with `cargo test --target x86_64-unknown-linux-gnu` instead.
2026-07-15fix(command): unit testsDaniel Jankowski
2026-07-08feat(command): add {focused_pane_cwd} to run commands in focused cwd (#273)Dave Willett
* feat(command): add {focused_pane_cwd} to run commands in the focused pane's directory Command widgets configured with command_<name>_cwd "{focused_pane_cwd}" now execute in the current working directory of the focused terminal pane, following it as the user changes directories. This relies on zellij's CwdChanged event and get_pane_cwd API. The focused terminal pane of the active tab is tracked via PaneUpdate (seeding the cwd on focus change) and updated on CwdChanged. Affected command results are invalidated so they re-run, and stale results from a previous cwd are discarded to avoid showing the wrong directory. Closes #92 * fix(command): release focused cwd command locks Focused-cwd commands can be invalidated while their first run is still in flight. If that result is later discarded as stale, no command result is stored but the per-command lock remains, preventing future reruns. Release the command lock when invalidating focused-cwd commands so the branch badge can recover on subsequent renders or cwd updates. Add a regression test for rerunning a command with no stored result after its lock is released.
2026-06-23chore(deps): bump cached from 1.1.0 to 2.0.2 (#269)dependabot[bot]
* chore(deps): bump cached from 1.1.0 to 2.0.2 Bumps [cached](https://github.com/jaemk/cached) from 1.1.0 to 2.0.2. - [Release notes](https://github.com/jaemk/cached/releases) - [Changelog](https://github.com/jaemk/cached/blob/master/CHANGELOG.md) - [Commits](https://github.com/jaemk/cached/commits) --- updated-dependencies: - dependency-name: cached dependency-version: 2.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix cached 1.x to 2.x breaking changes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Jankowski <daniel.jankowski@rub.de>
2026-06-03feat(tabs): add bell and flashing-bell formats and indicator (#259)pali
2026-06-03feat: add {focused_pane_title} to the tab widget formatter (#250)Yui
2026-06-01chore(deps): bump cached from 0.59.0 to 1.1.0 (#263)dependabot[bot]
* chore(deps): bump cached from 0.59.0 to 1.1.0 Bumps [cached](https://github.com/jaemk/cached) from 0.59.0 to 1.1.0. - [Changelog](https://github.com/jaemk/cached/blob/master/CHANGELOG.md) - [Commits](https://github.com/jaemk/cached/commits) --- updated-dependencies: - dependency-name: cached dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix: breaking changes from cached 1.0 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Jankowski <daniel.jankowski@rub.de>
2026-06-01fix: use timer events for idle refresh (#253)Jake Nelson
2026-04-18fix(zjframes): import Arc for tracingDaniel Jankowski
2026-04-18feat: add zero based tab index support (#249)Rikard Bergqvist
* adds zero based tab index support * update after comments
2026-04-11chore: linting issue in tabs widgetDaniel Jankowski
2026-04-10chore(zjframes): remove unused arc formDaniel Jankowski
2025-12-17chore(clippy): fix issuesDaniel Jankowski
2025-09-07feat(command): hide on empty stdoutDaniel Jankowski
2025-06-09feat(pipe): add render modesDaniel Jankowski
2025-06-09fix(command): handle raw formatting correctlyDaniel Jankowski
2025-06-09chore: remove test codeDaniel Jankowski
2025-06-09chore(deps): update to rust 1.87.0Daniel Jankowski
2025-04-05chore(deps): update to toolchain 1.86Daniel Jankowski
2025-03-28chore(deps): bump zellij-tile from 0.41.2 to 0.42.1 (#141)dependabot[bot]
* chore(deps): bump zellij-tile from 0.41.2 to 0.42.1 Bumps zellij-tile from 0.41.2 to 0.42.1. --- updated-dependencies: - dependency-name: zellij-tile dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix(config): implement missing trait member --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Jankowski <daniel.jankowski@rub.de>
2025-02-11fix(frames): glitching on borderless panesDaniel Jankowski
2025-01-28fix: flickering frames for scrollback editorDaniel Jankowski
fixes #120
2025-01-18feat(frames): hide frame except for scrollDaniel Jankowski
fixes #116
2025-01-18fix(frames): show frames in search modeDaniel Jankowski
fixes #117
2025-01-18feat: add pipe widgetDaniel Jankowski
2025-01-02chore: fix linting issueDaniel Jankowski
2025-01-02fix: zjframes only working on first tabDaniel Jankowski
fixes #109
2024-11-30chore: fix linting issueDaniel Jankowski
2024-11-30fix: don't toggle frames on when all configs are disabledDaniel Jankowski
Fixes #94
2024-11-16feat: add new binary for just toggling framesDaniel Jankowski
2024-11-16feat: add hide_frame_except_for_fullscreenDaniel Jankowski
2024-10-24chore: linting changesDaniel Jankowski
2024-10-24feat: add error message for empty configDaniel Jankowski
2024-10-05feat: hide frames except on searchDaniel Jankowski
2024-08-07feat(tabs): multiple formats for truncation markerDaniel Jankowski
2024-07-15chore: move from {alias} to $aliasDaniel Jankowski
2024-07-15feat: add color aliasesDaniel Jankowski
closes #75
2024-07-15feat: add bright_ ansi colorsDaniel Jankowski
2024-07-06fix: hide separator on last tab when truncatedDaniel Jankowski
2024-06-23feat: render truncated tab count to indicatorDaniel Jankowski
2024-06-23feat: add tab bar scrolling based on tab countDaniel Jankowski
fixes #67
2024-06-20feat: enable configuration for date and time separatelyDaniel Jankowski
fixes #70
2024-06-20chore: fix linting issuesDaniel Jankowski
2024-06-20feat: multiple formats for command widgetDaniel Jankowski
fixes #69
2024-06-11chore: further bump cargo depsDaniel Jankowski
2024-06-02feat: implement click action for command widgetDaniel Jankowski
2024-05-31feat: toggle hide format overlengthDaniel Jankowski
2024-05-25fix: mouse clicks with hidden partsDaniel Jankowski
2024-05-25feat: print config errors for usersDaniel Jankowski
2024-05-25feat: implement format precedence to hide overflown partsDaniel Jankowski
Fixes #58