mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
Force UTF-8 when attaching in select-session.py
Call `tmux attach` with `-u` flag, which forces UTF-8. This is default in the main script `/usr/bin/byobu`, but not `select-session.py`, which will cause issues when connecting via ssh. For example, `ssh $SERVER byobu` will show unicode characters as underscores.
This commit is contained in:
parent
a44b4d74b8
commit
d3f40f1d22
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ def attach_session(session):
|
|||
cull_zombies(session_name)
|
||||
# must use the binary, not the wrapper!
|
||||
if backend == "tmux":
|
||||
os.execvp("tmux", ["tmux", "attach", "-t", session_name])
|
||||
os.execvp("tmux", ["tmux", "-u", "attach", "-t", session_name])
|
||||
else:
|
||||
os.execvp("screen", ["screen", "-AOxRR", session_name])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue