The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

Resize issue with urxvt

asked 2015-10-19 23:07:55 +0000

anonymous user


updated 2015-10-20 07:41:07 +0000

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:

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?

edit retag flag offensive close merge delete



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

Airblader gravatar imageAirblader ( 2015-10-20 08:41:54 +0000 )edit

Here - - 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 ( 2015-10-20 18:43:37 +0000 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-10-24 22:06:28 +0000

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:

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

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-10-19 23:07:55 +0000

Seen: 202 times

Last updated: Oct 27