aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
| * chore(version): bump changelog versionAram Drevekenin2021-09-15
| |
| * Fix prompt line overflowing when resizing panes (#725)Aram Drevekenin2021-09-15
| | | | | | | | | | | | | | | | | | | | | | * fix(wrap): do not wrap empty lines and properly place cursor when resizing * fix(wrap): truncate last blank line wraps * fix(wrap): truncate lines right after unwrapping them * refactor(grid): remove unused method * docs(changelog): document change
| * fix(keys): bring back ctrl-n to get from scroll mode to resize modeAram Drevekenin2021-09-15
| |
| * docs(changelog): update pane title fixAram Drevekenin2021-09-15
| |
| * fix(frames): don't pad empty pane title (#724)Paulo Coelho2021-09-15
| |
| * docs(changelog): Add options subcommand to attacha-kenji2021-09-13
| |
| * 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> ```
| * docs(changelog): Improve handling of empty yaml filesa-kenji2021-09-13
| |
| * Improve handling of empty valid `yaml` files (#716)a-kenji2021-09-13
| | | | | | | | | | | | | | | | | | | | | | Improves the way empty valid `yaml` files are handled. When deserializing a `config` or `layout` file, that is an empty valid `yaml` file, eg: ``` --- ``` We now assume the default configuration is desired.
| * docs(changelog): add naming tab's in the `layout`a-kenji2021-09-13
| |
| * feat(screen): support specifying tab's name in layout (#715)Tw2021-09-13
| | | | | | Signed-off-by: Tw <tw19881113@gmail.com>
| * docs(changelog): fix automated builds that use `setup`a-kenji2021-09-12
| |
| * fix automated build errors on setup command (#711)Thomas Linford2021-09-12
| | | | | | - handle opts before client os input setup
| * docs(changelog): unicode_width in `tab-bar` titlesa-kenji2021-09-12
| |
| * Calculate width with unicode-width in tab-bar and utils (#709)Paulo Coelho2021-09-12
| | | | | | | | | | * fix(tab-bar): calculate string width using unicode-width * fix(utils): calculate ansi_len using unicode-width
| * docs(changelog): document cwd fixAram Drevekenin2021-09-10
| |
| * feat(cwd-pane): Keeping the cwd when opening new panes (#691)spacemaison2021-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(cwd-pane): Add a new trait to get the cwd of a given pid Co-authored-by: Quentin Rasmont <qrasmont@gmail.com> * feat(cwd-pane): Allow for setting the cwd when spawning a new terminal Co-authored-by: Quentin Rasmont <qrasmont@gmail.com> * feat(cwd-pane): Add an active_pane field to the Pty struct Co-authored-by: Quentin Rasmont <qrasmont@gmail.com> * feat(cwd-pane): Update Pty with Tab's active pane id Co-authored-by: Quentin Rasmont <qrasmont@gmail.com> * feat(cwd-pane): Refactor spawn_terminal to use cwd by default Co-authored-by: Quentin Rasmont <qrasmont@gmail.com> * feat(cwd-pane): Fix tests and lints Co-authored-by: Quentin Rasmont <qrasmont@gmail.com> * feat(cwd-pane): Fix formatting * feat(cwd-pane): Refactor child pid fetching to handle errors better Instead of panicking when transfering the process id of the forked child command we just return an empty process id. * feat(cwd-pane): Add non Linux/MacOS targets for the get_cwd method. This will allow Zellij to compile on non Linux/MacOS targets without having an inherited cwd. * feat(cwd-pane): Refactor spawn_terminal method to use ChildId struct. The spawn_terminal methods been refactored to use the ChildId struct in order to clarify what the Pid's returned by it are. The documentation for the ChildId struct was improved as well. * feat(cwd-pane): Fix tests/lints Co-authored-by: Jesse Tuchsen <not@disclosing> Co-authored-by: Quentin Rasmont <qrasmont@gmail.com>
| * docs(changelog): tab bar fixesAram Drevekenin2021-09-09
| |
| * fix(tab-bar): prevent active tab from being hidden (#703)Paulo Coelho2021-09-09
| |
| * docs(changelog): add cmd_exec featureBrooks Rady2021-09-09
| |
| * feat(plugin): add exec_cmd helper for executing command in hostTw2021-09-09
| | | | | | | | Signed-off-by: Tw <wei.tan@intel.com> Signed-off-by: Tw <tw19881113@gmail.com>
| * 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
| * chore(docs): fix/update example config filea-kenji2021-09-06
| |
| * fix(example) Update NewTab action in example/default.yaml to new syntax (#693)sudo_synul2021-09-06
| |
| * fix(borders): properly handle in-viewport borderless panes (#697)Aram Drevekenin2021-09-06
| | | | | | | | | | | | | | | | | | | | | | * fix(borders): properly handle in-viewport borderless panes * style(fmt): make clippy happy * fix(borders): properly handle panes outside the viewport on startup * style(fmt): not this time, clippy * docs(changelog): document change
| * fix(borders): properly handle wide chars in pane titles (#698)Aram Drevekenin2021-09-06
| | | | | | | | | | | | | | | | | | | | | | * work * fix(frame): properly handle widechars in frame titles * style(fmt): make rustfmt happy * fix(truncate): do not reverse second part of string (oops) * docs(changelog): document change
| * docs(changelog): update tab fixAram Drevekenin2021-09-06
| |
| * fix(tabs): use tab index for tab name (#686)Paulo Coelho2021-09-06
| |
| * fix(tabs): force render by index rather than by position (#684)Aram Drevekenin2021-09-01
| | | | | | | | | | * fix(tabs): force render by index rather than by position * docs(changelog): document change
| * fix(ui): offset content after viewport constructionBrooks Rady2021-08-31
| |
* | Merge branch 'main' of github.com:zellij-org/zellijBrooks J Rady2021-08-31
|\|
| * chore(assets): update demo gif (#681)Aram Drevekenin2021-08-31
| |
| * chore(version): bump development versionAram Drevekenin2021-08-31
| |
| * chore(release): v0.16.0Aram Drevekenin2021-08-31
| |
* | fix(ui): offset content after viewport constructionBrooks J Rady2021-08-31
|/
* 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
* fix(ui): resize correctly without pane-frames (#673)Brooks Rady2021-08-30
|
* refactor(tab): use borderless instead of selectable where appropriate (#672)Aram Drevekenin2021-08-30
| | | | | | | | | * next pane position => next terminal position * borderless * update comment * style(fmt): make rustfmt happy
* fix(ui): render correctly after tab closing (#670)Brooks Rady2021-08-30
| | | | | * fix(ui): render correctly after tab closing * That was a silly bug...
* fix(tab-bar): don't crash at small widthsBrooks J Rady2021-08-28
|
* chore(docs): update changelogBrooks Rady2021-08-28
|
* 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
* fix(plugin): fix set_timeout() host functionBrooks Rady2021-08-27
|\ | | | | fix: add missing to_plugin channel initialization (#664)
| * fix: add missing to_plugin channel initialization (#664)Tw2021-08-27
| | | | | | | | Signed-off-by: Tw <wei.tan@intel.com>
* | docs(changelog): formattinga-kenji2021-08-26
| |
* | docs(changelog): add template and tabs to `layout`a-kenji2021-08-26
| |
* | Merge pull request #625 from a-kenji/tab-layouta-kenji2021-08-26
|\ \ | |/ |/| Add `tabs` to `layouts`
| * fixup! adjust fixture layoutsa-kenji2021-08-26
| |
| * fixup! remove test filea-kenji2021-08-26
| |
| * Split tab-layout into `template` & `tabs` sectiona-kenji2021-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adjust example layouts and move them from `./example` to `./example/layouts` * simplify the deserialization of the layout * layouts are now constructed as follows: ``` --- template: direction: Horizontal parts: - direction: Vertical borderless: true split_size: Fixed: 1 run: plugin: tab-bar - direction: Vertical body: true # <== The body section specifies the position of the # inserted tab - direction: Vertical borderless: true split_size: Fixed: 2 run: plugin: status-bar tabs: - direction: Vertical - direction: Vertical ```