aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAge
* fix(compatibility): do not set scroll buffer in alternate screen (#1032)Thomas Linford2022-02-02
| | | | | | avoid moving lines to lines_above when in alternate screen. adjust resizing when in alternate screen: * remove extra lines instead of sending to lines_above * truncate excess characters
* feat: add focus attribute in layout (#958)Jae-Heon Ji2022-02-01
| | | | | | | | | | | | | | | | | | | * feat(layout): add focus attribute in layout * feat: add state of focus to tab * chore: i love clippy * test(layout): update focus options * feat: add focus pane * feat: apply focus-pane when layout is only loaded * change the instruction name for focus-on-tab * chore: apply cargo-fmt * test: add e2e testcase
* chore(deps): update arg parsing to clap v3 (#1017)Marcin Puc2022-01-23
| | | | * Update arg parsing to clap v3 * Ignore shell argument case
* feat: change dependency for `process_cwd` (#1001)Jae-Heon Ji2022-01-13
| | | | | | | | | | | * feat: change dependency for process_cwd * test: add unittest for get_cwd * chore: apply clippy * test: change tty to openpty * test(e2e): update case
* feat(keybinds): improve default keybindings (#991)Aram Drevekenin2022-01-04
|
* Implement passing the bell signal to the terminal (#981)auronandace2022-01-03
| | | | | | | * implement passing the bell signal to the terminal * Add files via upload add fixture to test against
* fix(commands): add install default assets (#961)Jae-Heon Ji2021-12-29
|
* fix(clippy): ensure clippy runs on all targets (#972)danieleades2021-12-29
| | | | | | | | | | | * ensure clippy runs on all targets * use 'AtomicBool' instead of 'Mutex<bool>' * remove unused import * remove 'mem::drop' no-ops * remove loop that never loops
* fix(attach): make removing clients atomic (#966)Aram Drevekenin2021-12-23
|
* fix(compatibility): handle deleting chars in lines with widechars (#965)Aram Drevekenin2021-12-22
| | | | | * fix(compatibility): handle deleting chars in lines with widechars * style(fmt): make rustfmt happy
* fix(compatibility): handle inserting characters after wide character (#964)Aram Drevekenin2021-12-22
| | | | | * fix(compatibility): handle inserting characters in the middle of a line after a wide character * style(fmt): make rustfmt happy
* feat(collaboration): implement multiple users (#957)Aram Drevekenin2021-12-20
| | | | | | | * work * feat(collaboration): implement multiple users * style(cleanup): some leftovers
* Feature: Add pane names (#928)Kunal Mohan2021-12-09
| | | | | | | | | | | | | * Read pane name from layout * Update pane name at runtime * Fix tests * prefer and render pane name over pane title * fix clippy errors * fix after rebase
* fix(plugins): support multiple users (#930)Aram Drevekenin2021-12-08
| | | | | * fix(plugins): support multiple clients * fix(style): make clippy happy
* fix(style): various internal refactoringsMarcin Puc2021-12-07
|
* fix(compatibility): full screen scroll region (#915)Aram Drevekenin2021-12-01
| | | | | * fix(compatibility): properly handle scrolling when scroll region is full screen * style(fmt): make clippy and rustfmt happy
* Prevent a zellij session from attaching to itself. (#911)Kunal Mohan2021-11-30
| | | | | | * fix #905 Prevent a zellij session from attaching to itself. * Add check while attaching using index as well
* refactor(tabs): lay down infrastructure for multiple users (#864)Aram Drevekenin2021-11-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(screen): support multiple mirrored clients * style(fmt): make rustfmt happy * style(clippy): make clippy happy * whitespace * github, y u no update CI?! * is this a cache issue? * is it the checkout cache? * no cache at all? * Debug * fix gototab * decoment * gototab none in wasm_vm * gototab none in wasm_vm * the fun never ends * tests(e2e): update infra and add multiple user mirroring test * refactor(tab): change structs in tabs and terminal panes to support multiple users * style(fmt): make rustfmt happy * style(fmt): make clippy happy
* Merge branch 'suggestion-for-similar-session-name' of ↵a-kenji2021-11-11
|\ | | | | | | https://github.com/ken-matsui/zellij into ken-matsui-suggestion-for-similar-session-name
| * feat(sessions): Suggestion for a similar session nameKen Matsui2021-11-11
| | | | | | | | | | | | | | | | Remove unnecessary to_string Replace `garando_syntax` crate with `lev_distance` which is much smaller Replace `lev_distance` crate with `suggestion` to simplify the code
* | add(feature): toggle boolean options with cli flag (#855)a-kenji2021-11-10
| | | | | | | | | | | | | | | | add the ability to toggle boolean options with a cli flag: example: if the pane frames are turned off in the config file, then passing in the `--no-pane-frames` flag will toggle the pane frames on
* | fix(envs): Unify operation of Zellij environment variables (#842)Ken Matsui2021-11-10
| |
* | fix(match): Make match arms much simpler (#844)Ken Matsui2021-11-09
| |
* | feat: add initial session name to layout template (#789)Jae-Heon Ji2021-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: add session configuration to layout template WIP: prototyping for issue #611 * test(layout): add session name * feat(layout): add cond flow to check session name * feat(layout): update session * feat: add function to attach a session * fix(layout): update feedback * attach option only works when layout template exists. * feat(layout): add conditional for session-layout * update default attach value
* | feat(scrolling): half-page scroll actions (#813)oromate2021-11-08
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Half-page scroll actions #794 * fix(performance): do not hang when resizing large line wraps (#814) * fix(performance): do not hang when resizing large line wraps * style(fmt): make rustfmt happy * style(clippy): make clippy happy * docs(changelog): scroll fix * fix(compatibility): home and end key fix (#815) * fix(compatibility): handle home/end keys properly from terminfo * style(fmt): make rustfmt happy * style(fmt): remove unused import * docs(changelog): home end key fix * docs(changelog): fix link * fix(typo): Correct typo from `occured` to `occurred` (#821) * docs(changelog): fix a typo * fix(docs): fix wrong arguments for `cargo make run` given in CONTRIBUTING.md (#819) * docs(changelog): update `cargo-make` for `v0.35.3` * fix(warning): Fix an unused import warning of std::fs on macos (#820) * docs(changelog): fix unused import on darwin * add: `WriteChars` action (#825) * Behaves like the `Write` action, but one can specify strings themselves instead of their bytecodes. Usage: WriteChars: "cargo make test", * docs(changelog): Add `WriteChars` action * fix(docs): Fix a typo and some grammatical errors in bug_report.md (#826) * docs(changelog): fix typo bug_report template * add: `rust-version` (msrv) field to `Cargo.toml` (#828) * specifies the minimum version the package can be compiled with, may be ignored with `--ignore-rust-version` option ref: https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-rust-version-field * docs(changelog): add `rust-version` to `Cargo.toml` * fix(unix): forkpty => openpty (#830) * fix(unix): forkpty => openpty * style(fmt): make rustfmt happy * docs(changelog): forkpty => openpty * Fix: move `colors_transform` to `colorsys` (#832) * `colors_transform` is deprecated and superceded by `colorsys` ref: https://crates.io/crates/colors-transform * docs(changelog): `colors_transform` to `colorsys` * feat(ui): add right-click support to plugins * chore(docs): update changelog * chore(warnings): remove unused imports (#833) * rename var sroll_rows and review snapshots * style(fmt): make rustfmt happy Co-authored-by: Aram Drevekenin <aram@poor.dev> Co-authored-by: Ken Matsui <26405363+ken-matsui@users.noreply.github.com> Co-authored-by: a-kenji <aks.kenji@protonmail.com> Co-authored-by: Tw <tw19881113@gmail.com> Co-authored-by: Brooks Rady <b.j.rady@gmail.com>
* chore(plugin): update assets and E2E testsBrooks J Rady2021-11-07
|
* fix(main): Refactor src/main.rs by splitting one massive main function into ↵Ken Matsui2021-11-05
| | | | | | | commands.rs (#829) * fix(main): Remove unnecessary pub visibility from the main function in `src/main.rs` * fix(main): Avoid unnecessary if-evaluations in the main function of `src/main.rs` * fix(commands): Simplify kill_all_sessions
* feat(attach): Support `--index` option to choose specific session by ↵Ken Matsui2021-11-06
| | | | | | | | | | | | | | | | provided number in active sessions ordered by creation date, resolve #823 feat(attach): Support `--first` option for `attach` sub-command to let zellij choose the alphabetically first session; resolve #823 fix(attach-first): Fix `--first` option to choose the first created session in the existent sessions feat(attach): Support `--index` option to choose the session indexed by provided number like -t option of tmux feat(attach): Support listing active sessions with index when a provided number is not found in the active sessions feat(attach): Support listing active sessions with index when a provided number is not found in the active sessions feat: Add anyhow to uniformly treat error types and avoid panics
* fix(input): properly handle bracketed paste (#810)Aram Drevekenin2021-10-27
| | | | | * fix(input): properly handle bracketed paste * style(fmt): make rustfmt happy
* fix(compatibility): improve handling of wide characters inserted in the ↵Aram Drevekenin2021-10-26
| | | | | | | | | | | | | | | middle of existing lines (#806) * fix(compatibility): handle wide characters inserted in line middle * fix(compatibility): more wide char handling * style(fmt): make rustfmt happy * style(fmt): make clippy happy * style(fmt): make clippyt happy * style(fmt): make rustfmt happy... again
* fix(style): fix clippy lints in `remote_runner`Thomas Linford2021-10-23
|
* fix(tests): update snapshotsAram Drevekenin2021-10-20
|
* Preserve current umask (#777)Thomas Linford2021-10-12
| | | | | * preserve umask when starting server * make sure log files are created with explicit permissions
* feat(cli): add `kill-session` command (#745)Jae-Heon Ji2021-10-11
| | | | | | | | | | | | | | | | | | | | | | * feat: add kill-session command * style: apply formatting rules * feat: add new instruction for kill-session * feat: update feedback of kill-session * separation of command `kill-session` and `kill-all-sessions` function. * Add information to various situations * Add a question (yes or no) when executing the `kill-all-sessions` command. * chore: adjust clippy warning * fix warning wording * make rustfmt happy Co-authored-by: Aram Drevekenin <aram@poor.dev>
* hotfix(stdin): poll for mouse hold in the stdin thread (#752)Aram Drevekenin2021-09-30
| | | | | | | * hotfix(stdin): poll for mouse hold in the stdin thread * add missing dont panic * style(fmt): make rustfmt happy
* fix(e2e): new fullscreen snapshotAram Drevekenin2021-09-29
|
* fix(compatibility): scroll lines into scrollback when clearing screen (#747)Aram Drevekenin2021-09-28
| | | | | * fix(compatibility): scroll lines into scrollback when clearing screen * fix(tests): silently fail on channel close error
* fix(compatibility): handle cursor movements outside scroll region (#746)Aram Drevekenin2021-09-28
| | | | | * fix(compatibility): handle cursor movements outside scroll region * style(fmt): make clippy happy
* feat(sessions): mirrored sessions (#740)Aram Drevekenin2021-09-27
| | | | | | | | | | | | | | | | | * feat(sessions): mirrored sessions * fix(tests): input units * style(fmt): make rustfmt happy * fix(tests): make mirrored sessions e2e test more robust * refactor(sessions): remove force attach * style(fmt): rustfmtify * docs(changelog): update change * fix(e2e): retry on all errors
* Implement `attach --create` subcommand flag to create session if one does ↵GPery2021-09-19
| | | | | | | | | | | | | not exist (#731) * Implement attach --create * fixup! Implement attach --create * fixup! Implement attach --create * fixup! Implement attach --create * fixup! Implement attach --create
* Add `options` subcommand to `attach` (#718)a-kenji2021-09-13
| | | | | | | | | | | | | | | | | | | fixes #688 - the `options` subcommand of `attach` functions the same, as the `options` subcommand of creating the normal session, but not every option will have an effect on reattaching, for example the `default_mode` setting would make no sense to switch. In the future it would make sense to be able to hot swap some of the options on reattach, but we are not able to do that yet, for example the `default_shell` one. Eg: ``` zellij attach <session-name> options --theme <theme> ```
* fix automated build errors on setup command (#711)Thomas Linford2021-09-12
| | | - handle opts before client os input setup
* style(clippy): various fixes (#704)Paulo Coelho2021-09-09
| | | | | | | | * test: fix clippy unused_io_amount * chore(clippy): various clippy fixes needless_borrow, let_and_return, vec_init_then_push, unit_arg, useless_format, field_reassign_with_default, redundant_clone
* fix(ui): change resize binding to Ctrl-nBrooks Rady2021-08-30
| | | | | | | | | * fix(ui): change resize binding to Ctrl-n * Fix tests? * Actually update the keybind in tests * Cowardly refuse to fix the E2E testing issue
* feat(ui): overhauled resize and layout systemsBrooks Rady2021-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(panes): move to parametric pane sizes * Fixed the simpler errors by casting to usize * The least I can do is pass the formatting check... * Move to stable toolchain * Well, it compiles? * And now it doesn't! ;) * Baseline functionality with the new Dimension type * Working POC for percent-based resizing * REVERT THIS COMMIT – DELETES TESTS * Perfected the discrete resize algorithm * Fixed fixed-size panes * Basic bidirectional resize * feat(resize): finalised parametric resize algorithm * Reduce the logging level a bit * Fixed nested layouts using percents * Bug squishing for implicit sizing * Here is a funky (read: rubbish) rounding approach * And now it's gone again! * Improve discretisation algorithm to fix rounding errors * Fix the last layout bug (maybe?) * Mixed explicit and implied percents work now * Let's pretend that didn't happen... * Make things a bit less crashy * Crash slightly more for now (to find bugs) * Manaually splitting of panes works now * Start moving to percent-based resizes * Everything but fullscreen seems to be working * Fix compilatation errors * Culled a massive amount of border code * Why not pause to please rustfmt? * Turns out I was still missing a few tests... * Bringing back even more tests! * Fix tests and pane boarders * Fix the resize system without gaps * Fix content offset * Fixed a bug with pane closing * Add a hack to fix setting of the viewport * Fix toggling between shared borders and frames * fix(tests): make e2e properly use PaneGeom * style(fmt): make rustfmt happy * Revert unintentional rounding of borders * Purge some old borderless stuff * Fix busted tab-bar shrinking * Update E2E tests * Finish implementing fullscreen! * Don't crash anymore? * Fix (almost) all tests * Fix a lack of tab-stops * All tests passing * I really can't be bothered to debug a CI issue * Tie up loose ends * Knock out some lingering FIXMEs * Continue to clean things up * Change some naming and address FIXMEs * Cull more code + FIXMEs * Refactor of the resize system + polish * Only draw frames when absolutely necessary * Fix the tab-bar crash * Fix rendering of boarders on reattach * Fix resizing at small pane sizes * Deduplicate code in the layout system * Update tab-bar WASM * Fixed the pinching of panes during resize * Unexpose needlessly public type * Add back a lost test * Re-add tab tests and get them to compile * All tabs need layouts * Start fixing tests + bug in main * Stabilize the resize algorithm rounding * All tests from main are now passing * Cull more dead code
* fixup! adjust fixture layoutsa-kenji2021-08-26
|
* Merge branch 'tab-layout' of https://github.com/a-kenji/zellij into ↵Aram Drevekenin2021-08-24
|\ | | | | | | a-kenji-tab-layout
| * Merge branch 'main' of https://github.com/zellij-org/zellij into tab-layouta-kenji2021-08-01
| |\
| * | fixup! fix e2e fixturesa-kenji2021-07-23
| | |
| * | Merge branch 'main' of https://github.com/zellij-org/zellij into tab-layouta-kenji2021-07-23
| |\ \