[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses 5.7 set_field_back problem
From: |
Thomas Dickey |
Subject: |
Re: ncurses 5.7 set_field_back problem |
Date: |
Thu, 01 Dec 2011 05:12:19 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Thu, Dec 01, 2011 at 08:21:48AM +0000, Pablo Cazallas Gonz?ffffe1lez wrote:
> Hi all,
>
> I have a problem while developing with ncurses 5.7, exactly with the
> "set_field_back" method, it is:
>
> When trying to set the video attribute of a field to A_BLINK, if its buffer
> is longer than 13 bytes and it is empty, the method doesn't work well, but it
> still returns E_OK.
>
> When doing the same, if the buffer is not longer than 13 bytes, it works fine.
>
> Here is a sample code that demonstrates it:
I made some minor fixes, and ran both here without seeing a problem.
(attaching the updated examples).
I made some fixes to field_buffer a while back - what version of ncurses
are you using? I tested with
ncurses 5.7.20081213
and
ncurses 5.9.20111126
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
test-cases.zip
Description: Zip archive
signature.asc
Description: Digital signature