-
-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add action to clear all buffers for a specific pane #2239
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, looks cool - good job on this!
I left some comments in the code. Otherwise let's also add a bindable key for this, you can take a look at similar implementations in our kdl parser: https://github.com/zellij-org/zellij/blob/main/zellij-utils/src/kdl/mod.rs
@@ -207,7 +207,7 @@ pub(crate) fn assert_session_ne(name: &str) { | |||
process::exit(1); | |||
} | |||
if name.contains('/') { | |||
eprintln!("Session name cannot contains '/'."); | |||
eprintln!("Session name cannot contain '/'."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<3
zellij-server/src/panes/grid.rs
Outdated
pub fn clear_screen(&mut self) { | ||
self.lines_above = Default::default(); | ||
self.lines_below = Default::default(); | ||
self.viewport = Default::default(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a conditional here so that we don't do this if alternate_screen
is Some
. This happens when eg. programs running in the terminal switch to full screen (eg. htop
and friends - also Zellij itself). I think in such cases we really don't want to do this. We can add a log if that happens.
zellij-server/src/tab/mod.rs
Outdated
@@ -235,6 +235,9 @@ pub trait Pane { | |||
fn push_right(&mut self, count: usize); | |||
fn pull_left(&mut self, count: usize); | |||
fn pull_up(&mut self, count: usize); | |||
fn clear_screen(&mut self) { | |||
todo!(); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not forgo the default implementation here? If you're concerned about plugins (our only other type of Pane
) then I think we can leave it and remove the todo!()
- I don't think this action is relevant for plugins...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, when I was doing this specifically I was trying to understand the whole architecture of zellij, so, I'll gladly just remove it
"", | ||
"screen was cleared properly" | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Hmm, so I found this comment about escape sequences, but this is not my strongest side, so is there already some of this escape magic somewhere in zellij? At a glance looks like a limitation of sorts |
What a coincidence, I was testing your branch tonight, just while you did your latest changes. Apart from that glitch on keybinding, this is really awesome! For me this is the feature I missed the most in zellij, thanks for the implementation! |
Ok here are the logs I've localized near the buggy behavior: logs
So I need to handle 49 (set background color) in |
Hey @alekspickle - sorry it took me some time to get to this. Thank you for your patience. I have not managed to reproduce the glitch you mention, but on the other hand this as it is now doesn't really work for me locally with various results. I have had the most success with this change (in grid.rs): pub fn clear_screen(&mut self) {
if self.alternate_screen_state.is_some() {
log::warn!("Tried to clear pane with alternate_screen_state");
return;
}
self.reset_terminal_state();
self.mark_for_rerender();
// self.lines_above = Default::default();
// self.lines_below = Default::default();
// self.viewport = Default::default();
} What do you think? |
I was able to play with a several existing functions, but the best I did is that the new prompt line was at the bottom and after you hit enter (same behavior you have). This is better, and honestly - good enough. My idea was to clean up for a really trashed panes and I would not really override it by default. |
Cool, glad you like this variant. Would you like to adjust the PR? Otherwise, for the binding being messed up - I do not see this behaviour (neither with the change nor with the original PR). Do you still see it with the change? |
also I have new assets to commit after building release version for some reason. Is this expected? I guess it's because wasm binaries changed and only debug ones committed. Feels like something that should be ignored. Or does it gets used in packaging somehow?
|
Hey @alekspickle - sorry, I hadn't noticed you already made the change! This looks great. I did some minor cleanup: removing the commented out config (we'll update this on the doc website before the release) and removing the info log. I think the log is a bit noisy as is. Once the CI passes I'll merge. The built assets are a bit of a release hack we have for... reasons. :) We only commit them through the CI when releasing a version. Great work on this, hope to see more stuff from you! |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [MordechaiHadad/bob](https://togithub.com/MordechaiHadad/bob) | minor | `v2.2.0` -> `v2.3.2` | | [aquaproj/aqua-registry](https://togithub.com/aquaproj/aqua-registry) | minor | `v3.150.0` -> `v3.155.0` | | [denisidoro/navi](https://togithub.com/denisidoro/navi) | minor | `v2.20.1` -> `v2.22.1` | | [starship/starship](https://togithub.com/starship/starship) | minor | `v1.13.1` -> `v1.14.2` | | [weaveworks/eksctl](https://togithub.com/weaveworks/eksctl) | minor | `v0.136.0` -> `v0.137.0` | | [zellij-org/zellij](https://togithub.com/zellij-org/zellij) | minor | `v0.35.2` -> `v0.36.0` | --- ### Release Notes <details> <summary>MordechaiHadad/bob</summary> ### [`v2.3.2`](https://togithub.com/MordechaiHadad/bob/releases/tag/v2.3.2): Bob v2.3.2 HOTFIX [Compare Source](https://togithub.com/MordechaiHadad/bob/compare/v2.3.1...v2.3.2) #### What's Changed - Config: Update all leftover references to sync_version_file_path by [@​Avishayy](https://togithub.com/Avishayy) in [https://github.com/MordechaiHadad/bob/pull/128](https://togithub.com/MordechaiHadad/bob/pull/128) - Fix osx64 content from pasting in parent directory by [@​MordechaiHadad](https://togithub.com/MordechaiHadad) in [https://github.com/MordechaiHadad/bob/pull/131](https://togithub.com/MordechaiHadad/bob/pull/131) - Fix missing field target_commitish when updating nightly **Full Changelog**: MordechaiHadad/bob@v2.3.1...v2.3.2 ### [`v2.3.1`](https://togithub.com/MordechaiHadad/bob/releases/tag/v2.3.1): Bob v2.3.1 HOTFIX [Compare Source](https://togithub.com/MordechaiHadad/bob/compare/v2.3.0...v2.3.1) #### What's Changed - More reliable way to find stable release tag name by [@​lamsyl](https://togithub.com/lamsyl) in [https://github.com/MordechaiHadad/bob/pull/126](https://togithub.com/MordechaiHadad/bob/pull/126) #### New Contributors - [@​lamsyl](https://togithub.com/lamsyl) made their first contribution in [https://github.com/MordechaiHadad/bob/pull/126](https://togithub.com/MordechaiHadad/bob/pull/126) **Full Changelog**: MordechaiHadad/bob@v2.3.0...v2.3.1 ### [`v2.3.0`](https://togithub.com/MordechaiHadad/bob/releases/tag/v2.3.0): Bob v2.3.0 [Compare Source](https://togithub.com/MordechaiHadad/bob/compare/v2.2.0...v2.3.0) #### What's Changed - Windows: Don't create a cmd window for nvim-qt by [@​MordechaiHadad](https://togithub.com/MordechaiHadad) in [https://github.com/MordechaiHadad/bob/pull/119](https://togithub.com/MordechaiHadad/bob/pull/119) - Fix installing via stable chooses the wrong json entry by [@​MordechaiHadad](https://togithub.com/MordechaiHadad) in [https://github.com/MordechaiHadad/bob/pull/124](https://togithub.com/MordechaiHadad/bob/pull/124) - fallback to $HOME if $SUDO_USER and $USER don't work by [@​MordechaiHadad](https://togithub.com/MordechaiHadad) in [https://github.com/MordechaiHadad/bob/pull/123](https://togithub.com/MordechaiHadad/bob/pull/123) - feat(cli): add `complete [shell]` subcommand for tab-completion gen by [@​utilyre](https://togithub.com/utilyre) in [https://github.com/MordechaiHadad/bob/pull/125](https://togithub.com/MordechaiHadad/bob/pull/125) - Feature: Add $BOB_CONFIG env variable to configure the location of bob's config file **Full Changelog**: MordechaiHadad/bob@v2.2.0...v2.3.0 </details> <details> <summary>aquaproj/aqua-registry</summary> ### [`v3.155.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v3.155.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v3.154.0...v3.155.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av3.155.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av3.155.0) | aquaproj/aqua-registry@v3.154.0...v3.155.0 #### 🎉 New Packages [#​11532](https://togithub.com/aquaproj/aqua-registry/issues/11532) [mailru/easyjson](https://togithub.com/mailru/easyjson): Fast JSON serializer for golang [#​11531](https://togithub.com/aquaproj/aqua-registry/issues/11531) golang/tools/goyacc: Goyacc is a version of yacc for Go. It is written in Go and generates parsers written in Go ### [`v3.154.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v3.154.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v3.153.0...v3.154.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av3.154.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av3.154.0) | aquaproj/aqua-registry@v3.153.0...v3.154.0 #### 🎉 New Packages [#​11530](https://togithub.com/aquaproj/aqua-registry/issues/11530) [suzuki-shunsuke/pinact](https://togithub.com/suzuki-shunsuke/pinact): Pin GitHub Actions versions ### [`v3.153.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v3.153.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v3.152.0...v3.153.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av3.153.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av3.153.0) | aquaproj/aqua-registry@v3.152.0...v3.153.0 #### 🎉 New Packages [#​11364](https://togithub.com/aquaproj/aqua-registry/issues/11364) [mvisonneau/vac](https://togithub.com/mvisonneau/vac): AWS credentials management leveraging Vault [@​ponkio-o](https://togithub.com/ponkio-o) #### Bug Fixes [#​11370](https://togithub.com/aquaproj/aqua-registry/issues/11370) dnote/dnote/cli: Set `files` to support aqua v2 https://aquaproj.github.io/docs/reference/upgrade-guide/v2/fix-default-files-name #### Fixes [#​11368](https://togithub.com/aquaproj/aqua-registry/issues/11368) mathew-fleisch/bashbot: Follow up changes of bashbot v2 [#​11369](https://togithub.com/aquaproj/aqua-registry/issues/11369) mergestat/mergestate-lite: Rename mergestat/mergestate to mergestat/mergestat-lite ### [`v3.152.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v3.152.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v3.151.0...v3.152.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av3.152.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av3.152.0) | aquaproj/aqua-registry@v3.151.0...v3.152.0 #### 🎉 New Packages [#​11362](https://togithub.com/aquaproj/aqua-registry/issues/11362) [go-acme/lego](https://togithub.com/go-acme/lego): Let's Encrypt/ACME client and library written in Go [@​kyontan](https://togithub.com/kyontan) ### [`v3.151.0`](https://togithub.com/aquaproj/aqua-registry/releases/tag/v3.151.0) [Compare Source](https://togithub.com/aquaproj/aqua-registry/compare/v3.150.0...v3.151.0) [Issues](https://togithub.com/aquaproj/aqua-registry/issues?q=is%3Aissue+milestone%3Av3.151.0) | [Pull Requests](https://togithub.com/aquaproj/aqua-registry/pulls?q=is%3Apr+milestone%3Av3.151.0) | aquaproj/aqua-registry@v3.150.0...v3.151.0 #### 🎉 New Packages [#​11360](https://togithub.com/aquaproj/aqua-registry/issues/11360) [Code-Hex/gqldoc](https://togithub.com/Code-Hex/gqldoc): The easiest way to make API documents for GraphQL [@​ponkio-o](https://togithub.com/ponkio-o) </details> <details> <summary>denisidoro/navi</summary> ### [`v2.22.1`](https://togithub.com/denisidoro/navi/releases/tag/v2.22.1): 2.22.1 [Compare Source](https://togithub.com/denisidoro/navi/compare/v2.20.1...v2.22.1) ##### ✨ New features - [`e3920`](https://togithub.com/denisidoro/navi/commit/e3920) Add --prevent-interpolation flag ([#​824](https://togithub.com/denisidoro/navi/issues/824)) - [`4b07d`](https://togithub.com/denisidoro/navi/commit/4b07d) Add support for code blocks using markdown syntax ([#​807](https://togithub.com/denisidoro/navi/issues/807)) ##### 🐛 Fixes - [`f8192`](https://togithub.com/denisidoro/navi/commit/f8192) Fix publish script ([#​825](https://togithub.com/denisidoro/navi/issues/825)) - [`f6414`](https://togithub.com/denisidoro/navi/commit/f6414) Prevent variable selection content from being limited to 3 columns ([#​821](https://togithub.com/denisidoro/navi/issues/821)) - [`89637`](https://togithub.com/denisidoro/navi/commit/89637) Correctly calculate character widths ([#​820](https://togithub.com/denisidoro/navi/issues/820)) - [`dee8f`](https://togithub.com/denisidoro/navi/commit/dee8f) Fix typos - [`41aa4`](https://togithub.com/denisidoro/navi/commit/41aa4) Fix preview map "leaking" with multiple variables - [`8b78d`](https://togithub.com/denisidoro/navi/commit/8b78d) Improve error handling for cheatsh and tldr ([#​766](https://togithub.com/denisidoro/navi/issues/766)) - [`d68c4`](https://togithub.com/denisidoro/navi/commit/d68c4) Support multi-word arguments in FZF overrides ([#​765](https://togithub.com/denisidoro/navi/issues/765)) - [`81cd7`](https://togithub.com/denisidoro/navi/commit/81cd7) Fallback to nano if EDITOR isn't set ([#​764](https://togithub.com/denisidoro/navi/issues/764)) ##### 💻 Code quality - [`2b03c`](https://togithub.com/denisidoro/navi/commit/2b03c) Remove link to Katacoda ([#​819](https://togithub.com/denisidoro/navi/issues/819)) - [`b56d7`](https://togithub.com/denisidoro/navi/commit/b56d7) Use dns_common library ([#​818](https://togithub.com/denisidoro/navi/issues/818)) - [`8cf9c`](https://togithub.com/denisidoro/navi/commit/8cf9c) Update dependencies ([#​817](https://togithub.com/denisidoro/navi/issues/817)) - [`317d1`](https://togithub.com/denisidoro/navi/commit/317d1) Add xonsh support instructions to Installation.md - [`cb999`](https://togithub.com/denisidoro/navi/commit/cb999) Refresh README - [`63681`](https://togithub.com/denisidoro/navi/commit/63681) Add link to TiddlyWiki plugin - [`d05fc`](https://togithub.com/denisidoro/navi/commit/d05fc) Add documentation about Tmux-widget - [`1823e`](https://togithub.com/denisidoro/navi/commit/1823e) Fix install script - [`69075`](https://togithub.com/denisidoro/navi/commit/69075) Delete dependabot.yml - [`5c6da`](https://togithub.com/denisidoro/navi/commit/5c6da) Prettify md/yaml files - [`9d862`](https://togithub.com/denisidoro/navi/commit/9d862) Minor code base improvements ([#​767](https://togithub.com/denisidoro/navi/issues/767)) - [`ebb02`](https://togithub.com/denisidoro/navi/commit/ebb02) Refactor code base ([#​760](https://togithub.com/denisidoro/navi/issues/760)) - [`80f4a`](https://togithub.com/denisidoro/navi/commit/80f4a) Fix typo in installation docs - [`9c903`](https://togithub.com/denisidoro/navi/commit/9c903) feat: add install docu for windows powershell #####‼️ Breaking changes - [`bd2fe`](https://togithub.com/denisidoro/navi/commit/bd2fe) Replace target: aarch64-apple-ios by aarch64-apple-darwin ([#​827](https://togithub.com/denisidoro/navi/issues/827)) Note: the release before this one is [v2.20.1](https://togithub.com/denisidoro/navi/releases/tag/v2.20.1) </details> <details> <summary>starship/starship</summary> ### [`v1.14.2`](https://togithub.com/starship/starship/releases/tag/v1.14.2) [Compare Source](https://togithub.com/starship/starship/compare/v1.14.1...v1.14.2) ##### Bug Fixes - **git_commit:** resolve panic on 32-bit targets ([#​5095](https://togithub.com/starship/starship/issues/5095)) ([5ef90a6](https://togithub.com/starship/starship/commit/5ef90a615f73a9f240a3c63ab601db1302adb01d)) ### [`v1.14.1`](https://togithub.com/starship/starship/releases/tag/v1.14.1) [Compare Source](https://togithub.com/starship/starship/compare/v1.14.0...v1.14.1) ##### Bug Fixes - Re-trigger release pipeline ([#​5087](https://togithub.com/starship/starship/issues/5087)) ([e392d14](https://togithub.com/starship/starship/commit/e392d14f4eb65d8761ea8bafb498d2a0d966dcef)) ### [`v1.14.0`](https://togithub.com/starship/starship/releases/tag/v1.14.0) [Compare Source](https://togithub.com/starship/starship/compare/v1.13.1...v1.14.0) ##### Features - **aws:** add support for source_profile ([#​3834](https://togithub.com/starship/starship/issues/3834)) ([d2801ac](https://togithub.com/starship/starship/commit/d2801ac44301dcef1f87ab5fd26abee36997f71d)) - **aws:** add support for source_profile ([#​4859](https://togithub.com/starship/starship/issues/4859)) ([d2801ac](https://togithub.com/starship/starship/commit/d2801ac44301dcef1f87ab5fd26abee36997f71d)) - **aws:** Adds support for AWS_CREDENTIAL_EXPIRATION environment variable ([#​5002](https://togithub.com/starship/starship/issues/5002)) ([74ce7fd](https://togithub.com/starship/starship/commit/74ce7fdbee071c28c77fd148d4ba02515f272d10)) - **custom:** add option to check if pwd is in a repo ([#​4822](https://togithub.com/starship/starship/issues/4822)) ([d29ce7c](https://togithub.com/starship/starship/commit/d29ce7c45d4ea21a6e14ad308bd50cb0e61d1ef8)) - **fossil:** detection of Fossil check-outs in subdirectories ([#​4910](https://togithub.com/starship/starship/issues/4910)) ([4bca74e](https://togithub.com/starship/starship/commit/4bca74eca29e159f0d6f27db432927012848408c)) - **release:** handle chocolatey starship.portable and starship.install pkg publishing ([#​4723](https://togithub.com/starship/starship/issues/4723)) ([b55774d](https://togithub.com/starship/starship/commit/b55774d3a68b32c0ed17983adeb6355e75c65f6b)) ##### Bug Fixes - **fossil_branch:** fossil checkout database file name on windows ([#​4978](https://togithub.com/starship/starship/issues/4978)) ([c07a21d](https://togithub.com/starship/starship/commit/c07a21d48abe4e01a96a2d1b641876207e8d02fb)) - **fossil_branch:** use proper fossil checkout database file name on windows ([c07a21d](https://togithub.com/starship/starship/commit/c07a21d48abe4e01a96a2d1b641876207e8d02fb)) - **gradle:** add support for unstable Gradle versions ([#​5021](https://togithub.com/starship/starship/issues/5021)) ([f7fe41f](https://togithub.com/starship/starship/commit/f7fe41f9c6c455e8ced284ad2d55d2a51a5da748)) - **init:** avoid cygpath for starship binary path ([#​4970](https://togithub.com/starship/starship/issues/4970)) ([0ad0465](https://togithub.com/starship/starship/commit/0ad0465a7a3296b3223693c655f370b7aae0d441)) - **java:** wrong version number when using Android Studio JDK ([#​4966](https://togithub.com/starship/starship/issues/4966)) ([de7e948](https://togithub.com/starship/starship/commit/de7e94884bc309814f6af79d68d664efb513e093)) - **preset:** add output-flag to avoid encoding issues ([#​4926](https://togithub.com/starship/starship/issues/4926)) ([5e78226](https://togithub.com/starship/starship/commit/5e78226a3fbe722331f6f0a1d352bbc48d38247f)) - **pulumi:** Fix formatting on pulumi module when using version ([#​5038](https://togithub.com/starship/starship/issues/5038)) ([aef799b](https://togithub.com/starship/starship/commit/aef799bfb089c5d259354208a6bcd5a0b639888f)) </details> <details> <summary>weaveworks/eksctl</summary> ### [`v0.137.0`](https://togithub.com/weaveworks/eksctl/releases/tag/v0.137.0): eksctl 0.137.0 (permalink) [Compare Source](https://togithub.com/weaveworks/eksctl/compare/0.136.0...0.137.0) ### Release v0.137.0 #### 🚀 Features - Add wait flag to \`scale nodegroup\` ([#​6406](https://togithub.com/weaveworks/eksctl/issues/6406)) - Add support for Spot Interruption Queue within Karpenter ([#​6460](https://togithub.com/weaveworks/eksctl/issues/6460)) #### 🧰 Maintenance - Update build image manifest, tag file and workflows, dependencies ([#​6488](https://togithub.com/weaveworks/eksctl/issues/6488)) #### 📝 Documentation - Update Karpenter doc with note for logging out of ECR repository ([#​6465](https://togithub.com/weaveworks/eksctl/issues/6465)) #### Acknowledgments Weaveworks would like to sincerely thank: [@​danielloader](https://togithub.com/danielloader) and [@​yuxiang-zhang](https://togithub.com/yuxiang-zhang) </details> <details> <summary>zellij-org/zellij</summary> ### [`v0.36.0`](https://togithub.com/zellij-org/zellij/releases/tag/v0.36.0) [Compare Source](https://togithub.com/zellij-org/zellij/compare/v0.35.2...v0.36.0) This release includes some nice quality-of-life features, as well as some bug fixes. #### Highlights - It's now possible to hide the session name in the UI (check out: https://zellij.dev/documentation/options.html#hide_session_name) - A new bindable key action was added to clear the scrollbuffer of the focused pane (check out `ClearScreen` here: https://zellij.dev/documentation/keybindings-possible-actions.html) - Plugins are now loaded asynchronously #### All changes - add my tweaked theme by [@​alekspickle](https://togithub.com/alekspickle) in [https://github.com/zellij-org/zellij/pull/2257](https://togithub.com/zellij-org/zellij/pull/2257) - fix(screen): focus pane on screen edge when moving pane focus offtab by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2293](https://togithub.com/zellij-org/zellij/pull/2293) - Correct summary by [@​Silejonu](https://togithub.com/Silejonu) in [https://github.com/zellij-org/zellij/pull/2235](https://togithub.com/zellij-org/zellij/pull/2235) - Updated layout examples to .kdl from .yaml by [@​caleflat](https://togithub.com/caleflat) in [https://github.com/zellij-org/zellij/pull/2250](https://togithub.com/zellij-org/zellij/pull/2250) - fix(panes): adding panes to lone stack by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2298](https://togithub.com/zellij-org/zellij/pull/2298) - fix(panes): closing a stacked pane should relayout by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2312](https://togithub.com/zellij-org/zellij/pull/2312) - Fixed issue [#​1948](https://togithub.com/zellij-org/zellij/issues/1948) by [@​gbrigandi](https://togithub.com/gbrigandi) in [https://github.com/zellij-org/zellij/pull/2322](https://togithub.com/zellij-org/zellij/pull/2322) - feat(plugins): async plugin loading by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2327](https://togithub.com/zellij-org/zellij/pull/2327) - docs(readme): update roadmap image by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2333](https://togithub.com/zellij-org/zellij/pull/2333) - Add action to clear all buffers for a specific pane by [@​alekspickle](https://togithub.com/alekspickle) in [https://github.com/zellij-org/zellij/pull/2239](https://togithub.com/zellij-org/zellij/pull/2239) - Added launch in xonsh by [@​anki-code](https://togithub.com/anki-code) in [https://github.com/zellij-org/zellij/pull/2323](https://togithub.com/zellij-org/zellij/pull/2323) - Add option to hide session name in tab-bar (deriving from [#​2172](https://togithub.com/zellij-org/zellij/issues/2172)) by [@​marcel-baur](https://togithub.com/marcel-baur) in [https://github.com/zellij-org/zellij/pull/2301](https://togithub.com/zellij-org/zellij/pull/2301) - fix(layouts): don't default to default swap layouts on new-tab action by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2336](https://togithub.com/zellij-org/zellij/pull/2336) - fix(layouts): nested attribute truncating by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2337](https://togithub.com/zellij-org/zellij/pull/2337) - fix(scrollback-editor): properly invoke editor when command includes spaces by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2339](https://togithub.com/zellij-org/zellij/pull/2339) - fix(layouts): focus tab race by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2340](https://togithub.com/zellij-org/zellij/pull/2340) - feat(panes): allow defining an expanded stacked pane by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2343](https://togithub.com/zellij-org/zellij/pull/2343) - fix(layout): pane focus in stack by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2344](https://togithub.com/zellij-org/zellij/pull/2344) - fix(plugins): prevent Strider from opening double-panes when editing files by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2346](https://togithub.com/zellij-org/zellij/pull/2346) - fix: set sticky bit on socket by [@​tlinford](https://togithub.com/tlinford) in [https://github.com/zellij-org/zellij/pull/2141](https://togithub.com/zellij-org/zellij/pull/2141) - chore(assets): adjust logo by [@​imsnif](https://togithub.com/imsnif) in [https://github.com/zellij-org/zellij/pull/2358](https://togithub.com/zellij-org/zellij/pull/2358) - fix: do not hold on to router thread handle until server exit by [@​tlinford](https://togithub.com/tlinford) in [https://github.com/zellij-org/zellij/pull/2328](https://togithub.com/zellij-org/zellij/pull/2328) #### New Contributors - [@​alekspickle](https://togithub.com/alekspickle) made their first contribution in [https://github.com/zellij-org/zellij/pull/2257](https://togithub.com/zellij-org/zellij/pull/2257) - [@​Silejonu](https://togithub.com/Silejonu) made their first contribution in [https://github.com/zellij-org/zellij/pull/2235](https://togithub.com/zellij-org/zellij/pull/2235) - [@​caleflat](https://togithub.com/caleflat) made their first contribution in [https://github.com/zellij-org/zellij/pull/2250](https://togithub.com/zellij-org/zellij/pull/2250) - [@​gbrigandi](https://togithub.com/gbrigandi) made their first contribution in [https://github.com/zellij-org/zellij/pull/2322](https://togithub.com/zellij-org/zellij/pull/2322) - [@​anki-code](https://togithub.com/anki-code) made their first contribution in [https://github.com/zellij-org/zellij/pull/2323](https://togithub.com/zellij-org/zellij/pull/2323) - [@​marcel-baur](https://togithub.com/marcel-baur) made their first contribution in [https://github.com/zellij-org/zellij/pull/2301](https://togithub.com/zellij-org/zellij/pull/2301) **Full Changelog**: zellij-org/zellij@v0.35.2...v0.36.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/scottames/dots). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Fixes #2081 (?)
I want to start a bigger feature contribution but I needed some easy task to get familiar with the codebase. This seemed like a perfect candidate.
It's just a draft anyway if for some reason this naive implementation is somehow not favorable.
Also I guess for the sake of fixing this particular issue, it makes sense for me to clear only
line_above
.But this is the more accurate semantic for this action IMO. Let me know what you guys think.
Tested it locallly , worked as expected.
zellij action clear
for a trashed pane)