bug-ncurses
[Top][All Lists]
Advanced

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

Re: Detecting a full form FIELD


From: Leon Winter
Subject: Re: Detecting a full form FIELD
Date: Wed, 30 Jun 2021 09:32:32 +0200

> The obvious question there - is "how" to detect that.

Something like that probably:

// in insert mode a "full" field will not add further input to it
form_driver (form, REQ_INS_MODE);
if (form_driver (form, input) != E_OK)
{ // field is full
}

What Thomas suggested would be to look up the field buffer before and after the
operation by calling the function field_buffer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]