You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ncurses/set_field_buffer.patch

10 lines
364 B
Diff

14 years ago
--- src/ncurses-5.7/form/frm_driver.c 2008/10/18 16:25:00 1.88
+++ src/ncurses-5.7/form/frm_driver.c 2008/12/06 23:08:12
@@ -4366,6 +4366,7 @@
delwin(field->working);
field->working = newpad(field->drows, field->dcols);
}
+ len = Buffer_Length(field);
wclear(field->working);
mvwaddstr(field->working, 0, 0, value);