[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-guile-ncurses] Procedure (current-field form) is missing. (And
From: |
Mike Gran |
Subject: |
Re: [Bug-guile-ncurses] Procedure (current-field form) is missing. (And the manual is confusing) |
Date: |
Mon, 3 Oct 2016 01:55:53 +0000 (UTC) |
On Sunday, October 2, 2016 5:07 AM, John Darrington <address@hidden> wrote:
>
>
>
>Upstream has a function:
>
>FIELD *current_field(FORM *form); /* form to query */
>
>which returns the current field of a form.
>
>But guile-ncurses 1.7 does not seem to have a corresponding procedure
>or any way to retrive this information. Consequently it's hard
>to write non-trivial programs using forms.
>
>
>
>Also, the manual says:
>
>-- Procedure: field-index form
> This returns the index into the field array that is current for the
> form.
>
>which seems to suggest that that field-index takes a <#form> as an argument.
>But it does not. It takes a <#field>.
>
>
>J.
Thank you for pointing this out. I've made an attempt to fix these the repo.
Since the ncurses field structures, once posted to forms, carry pointers to
one another in a circular list, the GC may not yet be correct.
Making a release has been on my TODO for a long time. I'll try to make that
happen soon.
Regards,
Mike Gran