[slang-users] Curious behaviour with SLsmg_set_color and SLsmg_write_string

John E. Davis davis at space.mit.edu
Tue Nov 27 22:31:14 UTC 2007


Remko van der Vossen <wich at stack.nl> wrote:
> I have a small problem which I seem unable to resolve, I write items
>=66rom an stl list of strings to a scrollable window using
> SLsmg_write_nstring and indicate the cursor in said window by using
> reverse video with SLsmg_set_color. However as soon as the window starts
> scrolling, the text in the cursorline gets garbled, (shifted and
> combined with the string which was on that line previously,) all other
> lines both above and below the cursor remain fine. I have condensed the
> problem to the enclosed test program.

I am unable to reproduce the problem (using g++ 4.1.2).  What version
of slang are you using?  What terminal are you using?

Thanks,
--John



More information about the slang-users-l mailing list