On Sat, Jun 27, 2015 at 11:12:03AM +0200, [email protected] wrote:
> Hi folks, I have found a bug.

We respectfully disagree :)

> 3. use the 'clear' command
> 4. reduce the height of the urxvt window

what happens here (at least for me) is that the prompt will scroll off-screen
because it no longer fits into the addressable area of the terminal.

The cursor has to stay inside that area, which is why you perceive a
movement, but the cursor really just stays in the topmost line, and the
text gets scrolled out by your action.

Arguably, this could be a bug in your shell in not redrawing the prompt,
however, it's probably using readline, which doesn't know anything about the
window height, and since the widht doesn't change, will not redraw.

It's not clear that redrawing the prompt will improve things, though, so it
might even be a feature and not a bug.

The only solution would be for things like readline to become fullscreen
aware (or "fullterminal") and react properly to resizes, which would
complicate readline a lot and might have very negative effects regarding
program output, so what you get is probably the best behaviour.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to