You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have built this muscle memory where Cmd+K always clear the current terminal for me using iTerm on a Mac.
Multiple times when using Zellij I hit it by mistake and it - obviously - clears the whole terminal and not the current panel.
EDIT 3: Alright, after an afternoon of getting acclimated with the project source code and concepts, I think I have a draft of something that kind-of-works, but would love to get some feedback: #1768
Screen.Recording.2022-10-01.at.08.16.02.PM.mp4
I was wondering if there's either an action that would emulate this - basically deleting the panel's contents and resetting the cursor to 0,0 position.
If not, does anyone have some advise on whether this would be possible to do using a Rust plugin?
EDIT: I am aware of the universal Ctrl+L command to clear the terminal, but it doesn't work - for instance - when a process is running. My use case here, is when I am tailing a log and I want to focus on what is coming after I take an action, I usually trigger Cmd+K and have the terminal panel completely wiped clean and reset to positon 0,0. The idea would be to replicate this particular behavior.
EDIT 2: Seems like other users want something similar as well #281
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have built this muscle memory where
Cmd+K
always clear the current terminal for me using iTerm on a Mac.Multiple times when using Zellij I hit it by mistake and it - obviously - clears the whole terminal and not the current panel.
EDIT 3: Alright, after an afternoon of getting acclimated with the project source code and concepts, I think I have a draft of something that kind-of-works, but would love to get some feedback: #1768
Screen.Recording.2022-10-01.at.08.16.02.PM.mp4
I was wondering if there's either an action that would emulate this - basically deleting the panel's contents and resetting the cursor to 0,0 position.
If not, does anyone have some advise on whether this would be possible to do using a Rust plugin?
EDIT: I am aware of the universal
Ctrl+L
command to clear the terminal, but it doesn't work - for instance - when a process is running. My use case here, is when I am tailing a log and I want to focus on what is coming after I take an action, I usually triggerCmd+K
and have the terminal panel completely wiped clean and reset to positon 0,0. The idea would be to replicate this particular behavior.EDIT 2: Seems like other users want something similar as well #281
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions