Hello,
I've noticed that when urxvt (v.9.0.5) re-wraps lines after a window
resize, the cursor is moved incorrectly.
To reproduce: start in an urxvt terminal with more than one screenfull
of lines entered (so that it rewraps on window resize). Then either:
1) Run bash, and at the prompt type a line longer than the window
width (do not press return). Resize the window, and notice that the
prompt does not stay in place; it instead moves up with every window
resize event.
2) Compile and run the below C program. While it is waiting for
input, note where the cursor is and resize the window. When the
longstring line is rewrapped, the cursor is moved up from the correct
position.
Thanks,
-Judah
#include <stdio.h>
char* longstring =
"asjdhfaskljfhsakjfhdskljfdhslfjkhfadkjlfkjsdfhasdkljhfasdfjhasdflhsakhfdjklasfjdkafshadslkdfjhaljkfjdashjfdafkhskdfhajkhjsaaskljhdlkjhjafkljsdhfkaskfj";
int main(void) {
printf(longstring);
fflush(stdout);
getchar();
return 0;
}
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode