[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bad behaviour in xterm after resizing.

On Mon, Jul 18, 2005 at 06:56:13PM +0200, David Martínez Moreno wrote:
> Hello, Thomas.  I was testing some bug reports and I experienced a very
> strange thing, mostly cosmetic.  I'm not an xterm user, so I have no
> preferences, as far as I know.
> To test:  Launch xterm, and resize its width to less than the prompt string. 
> Then xterm stacks the current text in the visible window.  The stacking is
> not right here, because every column I remove, another row appears with
> partial content.

xterm doesn't redraw the window as it resizes.  Shrinking the window causes
xterm to reallocate memory.  Growing the window, xterm reallocates memory
and fills the new cells with blanks.

Some applications redraw the window - "screen" for instance.  I've seen
some comments that indicate bash may redraw its prompt in this case too.

Thomas E. Dickey

Attachment: pgpvT9SXcEl62.pgp
Description: PGP signature

Reply to: