byobu on restoring session does not display utf-8 symbols
Bug #1696542 reported by
Srinivas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Invalid
|
Low
|
Unassigned |
Bug Description
When i open a new session the symbols like the logo are displayed correctly.
If I detach the session and then open again they are not displayed at all.
This also affects vim-airline in neovim.
If I detach a session in tmux and restore with tmux -u option this error does not occur. (Hope this helps)
I use byobu 5.116 and tmux 2.3 in ubuntu 17.04
To post a comment you must log in.
def attach_ session( session) : environment( session) split(" ____", 2) session_ name) "screen" , ["screen", "-AOxRR", session_name])
update_
backend, session_name = session.
cull_zombies(
# must use the binary, not the wrapper!
if backend == "tmux":
os.execvp("tmux", ["tmux","-u", "-2", "new-session", "-t", session_name, "-s", "_%s-%i" % (session_name, os.getpid())])
else:
os.execvp(
Adding -u parameter in os.execvp in /usr/lib/ byobu/include/ select- session. py Fixes the issue.
As I don't know how to use bazaar I am putting the fix here. Please fix it.