aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src (follow)
Commit message (Collapse)AuthorAge
...
* fix: invalid assignment of `client_id` (#1052)Jae-Heon Ji2022-02-23
| | | | | | | * feat: sync socket connection in * chore: apply clippy * chore: change message name
* feat(ux): tmux mode (#1073)Aram Drevekenin2022-02-21
| | | | | | | | | * work * basic tmux move and functionality * tmux mode ui * rustfmt
* feat(ui): add floating panes (#1066)Aram Drevekenin2022-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * basic functionality * close and reopen scratch terminal working * embed/float and resize whole tab for floating and static floating panes * move focus working * fix focus change in floating panes * move pane with mouse * floating z indices * tests and better resize algorithm * starting to work on performance * some performance experimentations * new render engine * reverse painters algorithm for floating panes * fix frame buffering * improve ux situation * handle multiple new panes on screen without overlap * adjust keybindings * adjust key hints * fix multiuser frame ui * fix various floating/multiuser bugs * remove stuff * wide characters under floating panes * fix wide character frame override * fix non-frame boundaries interactions with floating panes * fix selection character width * fix title frame wide char overflow * fix existing tests * add tests * refactor output out of tab * refactor floating panes out of tab * refactor tab * moar refactoring * refactorings and bring back terminal window title setting * add frame vte output * remove more unused stuff * remove even more unused stuff * you know the drill * refactor floating panes and remove more stuffs * refactor pane grids * remove unused output caching * refactor output * remove unused stuff * rustfmt * some formatting * rustfmt * reduce clippy to normal * remove comment * remove unused * fix closign pane * fix tests
* feat(copy): allow osc52 copy destination configuration (#1022)Thomas Linford2022-02-02
| | | add copy_cliboard option to allow configuring copy destination to primary selection instead of default clipboard
* 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
* fix(config): warn on mode without actions (#1035)a-kenji2022-01-31
| | | | | | Log with a warning, if the user finds himself in a mode, that has no action associated with it. fix #949
* chore(deps): update arg parsing to clap v3 (#1017)Marcin Puc2022-01-23
| | | | * Update arg parsing to clap v3 * Ignore shell argument case
* Add a copy command option (#996)Christophe Verbinnen2022-01-15
| | | | | Usage: zellij options --copy-command "xclip -sel clip" Co-authored-by: Christophe Verbinnen <christophev@knowbe4.com>
* Feature: Configurable scroll buffer (#936)Kunal Mohan2022-01-04
| | | | | | | | | * Configurable scroll buffer * Fix unit test failures * Add scroll_buffer_size description in the default config file * Fix config file
* fix(plugins): typo that gives plugins the wrong theme (#975)LordMZTE2021-12-28
|
* 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(config): unbind keys correctly (#925)a-kenji2021-12-04
| | | | | | | | * turn off the merging of key bindings of layout and configuration files for now. In certain situations the keybindings would be overwritten. Fix #923
* fix(compatibility): do not duplicate bracketed paste in chunked stdin input ↵Aram Drevekenin2021-12-02
| | | | | | | | | | | | | | | | | (#917) * debug message * fix attempt * oops * remove log message * rustfmt * style(clippy): make clippy happy * style(clippy): make clippy happy again!
* fix(theme): add gray to theme (#914)a-kenji2021-11-30
| | | | | fix #912 * Add `gray` to theme
* Fix: missing theme in config (#913)Tw2021-11-30
| | | Signed-off-by: Tw <wei.tan@intel.com>
* fix(style): remove unused importsBrooks J Rady2021-11-27
|
* This adds a UI for multiple users in panes (behind a feature flag) (#897)Aram Drevekenin2021-11-25
| | | | | | | * feat(ui): multiple users in panes * style(fmt): make rustfmt happy * style(fmt): make clippy happy
* First attempt to provide an overlay prompt (#871)a-kenji2021-11-15
|
* fix(typo): fix setup --check (#869)a-kenji2021-11-15
|
* feature(layout): add layout config (#866)a-kenji2021-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | feature(layout): add layout config (#866) * It is now possible to configure zellij through a layout: The config file and the layout file will be merged, on conflicting options the order is as follows: 1. config options `zellij options` 2. layout 3. config Example: ``` --- template: direction: Horizontal parts: - direction: Vertical body: true - direction: Vertical borderless: true split_size: Fixed: 1 run: plugin: location: "zellij:tab-bar" default_shell: fish ```
* fix(options): handling and overwriting cli opts (#859)a-kenji2021-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(options): handling ond verwriting cli opts * previously it was only possible to turn off certain features with a command line option, now it is possible to also overwrite this behavior in a sane way, for that some breaking changes happened: following options got renamed and inverted: ``` disable_mouse_mode -> mouse_mode no_pane_frames -> pane_frames ``` following cli options got added: ``` mouse-mode [bool] pane-frames [bool] simplified-ui [bool] ``` the following cli flag got removed: ``` simplified-ui ``` They can be specified in the following way: ``` zellij options --mouse-mode true ``` in order to enable the mouse mode, even if it is turned off in the config file: ``` mouse_mode: false ``` The order is now as follows: 1. corresponding flag (`disable-mouse-mode`) 2. corresponding option (`mouse-mode`) 3. corresponding config option (`mouse_mode`) * add: options and flags for the same value conflict * example: ``` zellij options --mouse-mode true --disable-mouse-mode` ``` ``` $ error: The argument '--mouse-mode <mouse-mode>' cannot be used with '--disable-mouse-mode' ```
* 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
|
* 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>
* Merge branch ↵a-kenji2021-11-05
|\ | | | | | | 'support-first-option-in-attach-subcommand-to-attach-the-first-session' of https://github.com/ken-matsui/zellij into ken-matsui-support-first-option-in-attach-subcommand-to-attach-the-first-session
| * 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(errors): Introduce thiserror to make error types simpler (#836)Ken Matsui2021-11-05
| |
* | fix(errors): Add colored crate to replace primitive color formatting (#837)Ken Matsui2021-11-05
| |
* | feature(resize): Non directional resize (#520)Henil Dedania2021-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feature(resize): Non directional resize * Implement special cases * fix resizing for panes that have `+` cross section * fix resizing for panes that have `T` cross section * fix panics * Add Nondirection resize keys to plugin * fix formatting * fix: clippy warnings * fix the last edge case * implemented some of the suggested changes * Remove helper function and elevate comment to top of function * Use `=` to keep it consistent with Normal mode mapping as its easier to use * Remove extra reference borrowing * fix an edge case * add test for nondirectional resize increase/decrease * fix(controls): add + to resize * refactor(resize): simplify methods * fix(resize): properly resize opposite corner pane Co-authored-by: Aram Drevekenin <aram@poor.dev>
* | add: `try_from` for `ConfigFromYaml` -> `Config` (#835)a-kenji2021-11-03
| |
* | feat(ui): add right-click support to pluginsTw2021-11-02
| |
* | Fix: move `colors_transform` to `colorsys` (#832)a-kenji2021-11-02
| | | | | | | | | | * `colors_transform` is deprecated and superceded by `colorsys` ref: https://crates.io/crates/colors-transform
* | add: `WriteChars` action (#825)a-kenji2021-11-01
| | | | | | | | | | | | | | | | * Behaves like the `Write` action, but one can specify strings themselves instead of their bytecodes. Usage: WriteChars: "cargo make test",
* | fix(typo): Correct typo from `occured` to `occurred` (#821)Ken Matsui2021-10-31
|/
* fix(compatibility): home and end key fix (#815)Aram Drevekenin2021-10-29
| | | | | | | * fix(compatibility): handle home/end keys properly from terminfo * style(fmt): make rustfmt happy * style(fmt): remove unused import
* Feature: Rotate Pane locations (#802)Kunal Mohan2021-10-26
| | | fix #165
* add(setup): change the links to be hyperlinks (#768)a-kenji2021-10-25
| | | | | - change the links in the setup command to be viable hyperlinks according to: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
* Feature: Move panes directionally (#762)Kunal Mohan2021-10-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Feature: Move panes directionally * change keybinds * Fix active pane after move * Add a separate 'Move' mode * Add tests * Add more tests * Send resize message to pty * wrap set_terminal_size_using_fd() in macro * change keybind for Move mode * cargo fmt * fix test * move render functions from tab.rs to screen.rs * undo wrong keybinds
* logging: remove unused log functions, change log file const to new file (#779)Thomas Linford2021-10-18
|
* 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>
* refactor(clients): support multiple clients in tab/screen rendering infra (#770)Aram Drevekenin2021-10-07
|
* fix(setup): switch setup order (#765)a-kenji2021-10-05
| | | | - commands that don't use the config file now wont throw an error on malformed config files
* feat(config): Allow empty config files (#720)a-kenji2021-10-01
| | | | | | | | | | | | | | | | | | | | | | | | Fix #714 Allow empty `config` and `layout` files - Currently empty files are parsed as yaml documents, since they are empty they are invalid yaml files and a deseralization error would follow. Now we ignore the incorrect yaml on an empty document and treat it as an empty yaml document. Eg: ``` ``` and ``` --- ``` Are now treated equally. Alternative: Keep treating the files as `yaml` documents.
* 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
* 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