| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | sl0p: double-click a tab to rename itHEADmain | user | 2026-08-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||
| * | chore(deps): update to toolchain 1.86 | Daniel Jankowski | 2025-04-05 |
| | | |||
| * | feat: add color aliases | Daniel Jankowski | 2024-07-15 |
| | | | | | closes #75 | ||
| * | feat: enable configuration for date and time separately | Daniel Jankowski | 2024-06-20 |
| | | | | | fixes #70 | ||
| * | feat: implement click action for command widget | Daniel Jankowski | 2024-06-02 |
| | | |||
| * | feat: implement render modes for command widget | Daniel Jankowski | 2023-12-25 |
| | | | | | resolves #25 | ||
| * | chore: ref config instead of copying | Daniel Jankowski | 2023-12-17 |
| | | |||
| * | chore: move from to_string to to_owned | Daniel Jankowski | 2023-12-17 |
| | | |||
| * | feat: perf + mem optimization of rendering | Daniel Jankowski | 2023-12-17 |
| | | |||
| * | feat: refactor to lib and add benches | Daniel Jankowski | 2023-12-17 |
| | | |||
| * | feat: add widget for running arbitrary commands (#16) | Daniel Jankowski | 2023-11-07 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * chore: update zellij-tile to 0.39.0 with git version * chore: update flake deps * feat: rework render + add stub command widget * feat: implement command handling * chore: refactoring command widget * chore: add command description to README * chore: remove debugging output * fix: recreate lock file after interval Due to a bug when attaching sessions, the lock file needs to be recreated for another try to run the command, when permissions were granted * fix: pause on detach and without permissions * chore: clean up previous unneeded changes * chore: clean up imports * chore: fix clippy issues * chore: remove debug output * fix: strip newline only when it exists * feat: update to zellij-tile 0.39.0 | ||
| * | feat: implement clickable tabs | Daniel Jankowski | 2023-09-06 |
| | | |||
| * | chore: refactor renderer | Daniel Jankowski | 2023-09-02 |
| | | |||
| * | feat: add hide frame for single pane | Daniel Jankowski | 2023-09-01 |
| | | |||
| * | fix: make timezone configurable | Daniel Jankowski | 2023-09-01 |
| | | |||
| * | chore: rename clock to datetime | Daniel Jankowski | 2023-08-31 |
