Problem with cursor position when suspending process to background #251
Closed
Description
Hi,
I'm using oh-my-zsh (clean install, default config) with p10k as a theme. I'm experience the following problem: When I open a foreground process from the shell, say vim
or htop
, and then suspend that job using Ctrl+Z, the cursor is in the wrong position, shifted to the left, overlapping the path or the ">" symbol. Only terminating the background (fg
, then Ctrl+C) process seems to reset everything to normal. Necessary fonts are installed and unset ZLE_RPROMPT_INDENT
as suggested by the FAQ does not seem to solve the issue.
Steps to reproduce:
- Open a terminal.
- Call a foreground shell program like
vim
orhtop
. - Suspend the program using Ctrl+Z.
I'm using Linux 4.19.69-1-MANJARO x86_64.
Here is my .zshrc:
export ZSH="/home/dflachs/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git)
source $ZSH/oh-my-zsh.sh
[[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh
Any hints on how to solve that problem are appreciated!
Metadata
Assignees
Labels
No labels