Skip to content
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

The parse of list-panes output breaks when the screen buffer contains pipe symbol #472

Closed
hongwen000 opened this issue Jan 21, 2023 · 6 comments

Comments

@hongwen000
Copy link

When there are pipe symbols in the screen buffer, the buffer_sample field in the output of "tmux list-session" may contain pipe symbols.

In the "fetch_objs" function of neo.py, the "obj_formatters" use pipe symbols as the delimiter between fields when parsing the output of "tmux list-session", causing an error in the parsing when pipe symbols are present in the buffer_sample field.

This results in failure of all functions that rely on "fetch_objs" such as creating and listing sessions.

@tony
Copy link
Member

tony commented Jan 28, 2023

@hongwen: I followed up with you here, Can you try this PR or that environmental variable out and see if it allieves the issue?

@tony
Copy link
Member

tony commented Jan 29, 2023

@hongwen000 If you try v0.21.0 (which includes #475), is anything different?

@hongwen000
Copy link
Author

@tony Yes, I have upgraded both tmuxp and libtmux, and now they are working well. Thanks for your following up.

@tony
Copy link
Member

tony commented Feb 2, 2023

@hongwen000 Excellent! Back in action now!

I will close this issue for now. Is #473 settled as well?

@hongwen000
Copy link
Author

@tony Yes. I have closed that pull request.

@tony
Copy link
Member

tony commented Feb 2, 2023

@hongwen000 Good to know this is fixed! I will close this for now. Let me know if this persists!

@tony tony closed this as completed Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants