Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

In ZSH prompt expansion, the command %E is supposed to "Clear to end of line."

This works: enter image description here

However, it does not work in tmux: enter image description here

The issue seems to be with BCE (Background Color Erase). In screen, I can add the option defbce ondefbce on. I can't find any similar setting for tmux. Does it exist?

In ZSH prompt expansion, the command %E is supposed to "Clear to end of line."

This works: enter image description here

However, it does not work in tmux: enter image description here

The issue seems to be with BCE (Background Color Erase). In screen, I can add the option defbce on. I can't find any similar setting for tmux. Does it exist?

In ZSH prompt expansion, the command %E is supposed to "Clear to end of line."

This works: enter image description here

However, it does not work in tmux: enter image description here

The issue seems to be with BCE (Background Color Erase). In screen, I can add the option defbce on. I can't find any similar setting for tmux. Does it exist?

this is unrelated to zsh, so make the question easier to find by people with the same problem but not hitting it through zsh
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k

ZSH and Clear to end of line uses the wrong background color in tmux - %E prompt expansion not working

Source Link
JoshuaD
  • 839
  • 1
  • 7
  • 13

ZSH and tmux - %E prompt expansion not working

In ZSH prompt expansion, the command %E is supposed to "Clear to end of line."

This works: enter image description here

However, it does not work in tmux: enter image description here

The issue seems to be with BCE (Background Color Erase). In screen, I can add the option defbce on. I can't find any similar setting for tmux. Does it exist?