aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-client (follow)
Commit message (Collapse)AuthorAge
* Fix double panic lockup in clients panic handler (#1433)raphCode2022-05-24
| | | | | | | | | | | | | | | | | | | | | | * Fix possible lockup in the clients panic handler When the pty the client was running in disappears, reading from stdin causes a panic, which triggers the custom panic handler. This handler attempts to print a backtrace to the terminal and tries to unset the raw mode for that. Since the pty has already disappeared, the tcsetattr call fails and causes a second panic, which locks everything up. This commit fixes this by returning an Result from the unset_raw_mode function, allowing the calling panic handler to handle any error gracefully. * Log any client panics to file Since we are now aware of the fact that panics may happen / are handled after the pty has disappeared, logging them to file seems useful: there is no other other place to show them to the user. * fix tests and improve function return type
* fix(input): ANSI code sent to terminal on startup and resizeThomas Linford2022-05-16
| | | | | | | | | * fix macos parsing issues * format * fix(ansiparser): validate first key on parse Co-authored-by: Aram Drevekenin <aram@poor.dev>
* build(deps): bump log from 0.4.16 to 0.4.17 (#1386)dependabot[bot]2022-05-09
| | | | | | | | | | | | | | | | | Bumps [log](https://github.com/rust-lang/log) from 0.4.16 to 0.4.17. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/commits/0.4.17) --- updated-dependencies: - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(version): bump development versionAram Drevekenin2022-05-02
|
* chore(release): v0.29.1Aram Drevekenin2022-05-02
|
* chore(version): bump development versionAram Drevekenin2022-05-02
|
* fix(mouse): improve mouse event reporting (#1329)Thomas Linford2022-04-30
| | | | | * fix: do not rebroadcast mouse press events * fix: do not send generated mouse hold events to applications * begin selecting only if click is on terminal pane
* fix(compatibility): respond to bg and fg color ansi queries (#1358)Aram Drevekenin2022-04-28
| | | | | | | | | | | * fix(compatibility): respond to background/foreground queries * style(fmt): rustfmt * style(clippy): make clippy happy * style(fmt): rustfmt * style(fmt): remove unused code
* fix(ipc): empty ipc msg crash (#1351)Aram Drevekenin2022-04-27
| | | | | * fix(ipc): recover from corrupted channel state * style(fmt): rustfmt
* chore(version): bump development versionAram Drevekenin2022-04-13
|
* chore(package): patch versionAram Drevekenin2022-04-13
|
* feat(signals): support XTWINOPS 14 and 16 (and query the terminal for them ↵Aram Drevekenin2022-04-12
| | | | | | | | | | | | | on startup and SIGWINCH) (#1316) * feat(signals): get pixel info from terminal emulator * feat(signals): query for pixel info on sigwinch * feat(signals): reply to csi 14t and csi 16t * style(fmt): rustfmt * style(comments): remove outdated
* chore(version): bump development versionAram Drevekenin2022-03-31
|
* build(deps): bump log from 0.4.14 to 0.4.16 (#1278)dependabot[bot]2022-03-28
| | | | | | | | | | | | | | | | | Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.16. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/commits) --- updated-dependencies: - dependency-name: log dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): move from termion to termwiz for STDIN handling (#1249)Aram Drevekenin2022-03-23
| | | | | | | | | | | | | | | | | | | * fix(deps): switch from termion to termwiz for STDIN parsing * style(fmt): clippy * style(fmt): moar clippy * style(fmt): rustfmt * fix(tests): e2e mouse press * style(fmt): rustfmt * bring back polling * fmt fmt fmt * fix some e2e flakiness
* feat(ui): round frame corners (#1227)Brooks Rady2022-03-22
| | | | | | | | | | | | | | | * feat(ui): round frame corners * Allow rounded_corners to be set without a palette * Revert "Allow rounded_corners to be set without a palette" This reverts commit 9271a4b5452f2e59e0ebd55136343f0fbfabaa13. * fix(style): remove redundant code * fix(style): clippy lints that somehow got missed * feat(config): add ui config section
* chore(version): bump development versionAram Drevekenin2022-03-16
|
* chore(release): v0.26.1Aram Drevekenin2022-03-16
|
* hotfix: do not send bracketed paste to panes where it is not onAram Drevekenin2022-03-16
|
* feat: improve error reporting system (#1038)Jae-Heon Ji2022-03-13
| | | | | | | | | | | * feat: add draft a concept code * feat: add err_ctx to diagnostic * feat: optimize error report * chore: add user-friendly help * fix: manual merge lockfile from main
* chore(version): bump development versionAram Drevekenin2022-03-11
|
* fix(compatibility): home and end in cursor keys mode (#1190)Thomas Linford2022-03-09
|
* add: set `env` var's from config and layout (#1154)a-kenji2022-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | Add ability to set `ENVIRONMENT VARIABLES` from the config and the layout files. example: ``` env: ZELLIJ_CONFIG: DEFAULT ``` or ``` env: ZELLIJ_LAYOUT_NAME: BUILD_SESSION ``` If two keys conflict (configuration and layout), then the key from the layout is used. fixes: #1059
* fix(input): handle discontiguous STDIN input (#1119)Aram Drevekenin2022-02-25
| | | | | | | | | | | | | | | | | * log stdin reads and events * attempt fix for incomplete mouse sequences * read events directly from stdin * fix flaky e2e test * bring back bracketed paste * rustfmt * remove unused Co-authored-by: Thomas Linford <linford.t@gmail.com>
* fix: invalid assignment of `client_id` (#1052)Jae-Heon Ji2022-02-23
| | | | | | | * feat: sync socket connection in * chore: apply clippy * chore: change message name
* chore(version): bump development versionAram Drevekenin2022-02-22
|
* 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
* chore(version): bump development versionAram Drevekenin2022-01-05
|
* Remove unused dependency - termbg (#992)Kunal Mohan2022-01-04
|
* fix(mouse): prevent unhandled mouse events escape to terminal (#976)Thomas Linford2021-12-28
| | | | | | | | | * workaround to not write csi mouse seqs to terminal * tab: copy selection to clipboard only if selecting was initiated with left click * cleanup debug log messages * unset selecting_with_mouse when selection is empty
* chore(version): bump development versionAram Drevekenin2021-12-20
|
* chore(version): bump development versionAram Drevekenin2021-12-20
|
* chore(version): bump development versionAram Drevekenin2021-12-14
|
* chore(version): bump development versionAram Drevekenin2021-12-13
|
* 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(style): various internal refactoringsMarcin Puc2021-12-07
|
* fix(perf): throttle resizes on sigwinch (#895)Thomas Linford2021-12-05
| | | Reduce renders while resizing window to reduce performance problem with a large scrollback buffer due to lines recalculation.
* 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!
* 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
* chore(version): bump development versionAram Drevekenin2021-11-29
|
* 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' ```
* chore(version): bump development versionAram Drevekenin2021-11-10
|
* chore(release): v0.20.1Aram Drevekenin2021-11-10
|
* fix(input): properly query bracketed paste mode in terminals (#858)Aram Drevekenin2021-11-10
|
* 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
|
* chore(version): bump development versionAram Drevekenin2021-11-08
|
* feat(ui): add right-click support to pluginsTw2021-11-02
|
* 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
* fix(input): properly handle bracketed paste (#810)Aram Drevekenin2021-10-27
| | | | | * fix(input): properly handle bracketed paste * style(fmt): make rustfmt happy