-
Notifications
You must be signed in to change notification settings - Fork 10
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
ANSI output is garbled, need to run list-sessions with -n #6
Comments
@robrecord Which version of zellij are you on? I'm on |
Ah, my bad - I’m on a pre-release 0.39 compiled from the main branch… not sure how you’d make it compatible with both versions; might need a version check. I realise that’s possibly awkward. |
In light of this not being released yet, perhaps we should wait until the functionality is settled as it could be subject to change. |
Zellij 0.39 being released, this issue is now existing with latest releases. |
@robrecord @noirbizarre sorry for the delay. Too much on my plate right now. I will update it as soon as I have time. Can't break my workflow when I'm in the middle of the project. |
Should be fixed in |
https://github.com/alex35mil/dotfiles/blob/483f7ad7c69a9ef0f24468d11b4aca4db0d0f75d/bin/zellij/runner/src/zellij.rs#L11C54-L11C54
New versions of zellij come with colourized output of list-sessions by default, which appeared messed up in zellij-runner's list of sessions. Additionally extra session information is added to the end of each item.
Consequently the session attach does not work.
A workaround would be to add-n
to thelist-sessions
command, and then separate the session information from the session name.EDIT: a new flag,
-s
or--short
, has been added to thelist-sessions
command to output session names pristinely for easy parsing.The text was updated successfully, but these errors were encountered: