You are not logged in.

#1 2023-01-18 08:52:22

spartacus
Member
Registered: 2023-01-18
Posts: 2

urxvt prompt in the vertical middle of the screen

Hi
I recently started having the following problem: when I start my terminal emulator (urxvt), the prompt no longer appears in the first row but a few rows down. I can fix the problem with <ctrl>+l or with

clear

each time, but I have the problem again every time I start urxvt.

My system:
wm: dwm
terminal emulator: rxvt-unicode-256color
shell: zsh

When I launch multiple instances of urxvt, and due to the layout of dwm these instances get smaller and smaller, it looks like in the smaller urxvt windows the prompt is in the top row. However, when I close the urxvt instances one by one, the following scenario shows up:
The remaining urxvt instance shows the prompt again further down. And not only that, there are now suddenly several input prompts below each other (as if I had pressed <Enter> several times without input) but not directly below each other but with different distances to each other.

I already have a workaround for starting (but this is a hack and not really satisfactory):
In my zshrc-file I add the command

clear

as last line.

Can anyone tell me what this is and how I can fix the problem?

Offline

#2 2023-01-18 09:04:25

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: urxvt prompt in the vertical middle of the screen

Offline

#3 2023-01-18 09:17:38

spartacus
Member
Registered: 2023-01-18
Posts: 2

Re: urxvt prompt in the vertical middle of the screen

Thanks @Raynman

This fixes the problem at startup of urxvt. However, the strange behavior when opening and closing multiple urxvt instances still remains.

Offline

Board footer

Powered by FluxBB