Function ncursesw::form::set_field_buffer
source · [−]pub fn set_field_buffer(
field: FIELD,
buffer_number: i32,
buffer: &[i8]
) -> Result<(), NCurseswFormError>
Expand description
Sets the numbered buffer of the given field to contain a given string:
- Buffer 0 is the displayed value of the field.
- Other numbered buffers may be allocated by applications but are not manipulated by the forms library.