The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

Resize issue with urxvt

asked Oct 19 '15

anonymous user

Anonymous

updated Oct 20 '15

Adaephon gravatar image

When the urxvt terminal is resized (for example by adding new windows), it cuts off the output of the terminal. Here is a video demonstrating this:

https://vid.me/IdNG

I create some lengthy output by executing for i in {1..10} ; do echo $TERM ; done and then I add new terminal windows in the vertical split container. After adding the 4th terminal window, the bottom border of the first window overlaps with the content of the window and cuts off the overlapping portion. When I return to this window, the content remains cut off and no prompt is visible until I press a key. The second half of the video demonstrates that this problem is not present with xterm.

How can this problem be solved?

Comments

1

That's a problem in urxvt, not i3, so I suggest you report it there.

Airblader gravatar imageAirblader (Oct 20 '15)edit

Here - http://superuser.com/questions/442589/xmonad-urxvt-issue-text-disappears-after-resizing - is a workaround. Although I would replace `$LINE` by a number that is greater than the maximum of lines fitting on your screen, if you often close and reopen terminals in the same container.

Adaephon gravatar imageAdaephon (Oct 20 '15)edit

1 answer

Sort by ยป oldest newest most voted
1

answered Oct 24 '15

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

As pointed out by Airblader this is an urxvt issue. The workaround posted by Adaephon didn't really work that well for me. Therefore I had a look at the source code of urxvt and posted a patch for this issue on the urxvt mailing list:

http://lists.schmorp.de/pipermail/rxv...

Besides the issue mentioned here, this also fixes some other resizing problems of urxvt.

Question Tools

1 follower

Stats

Asked: Oct 19 '15

Seen: 202 times

Last updated: Oct 27