]> git.cworth.org Git - sup/commit
fix garbaged text in textfield when using ncursesw
authorBenoît PIERRE <benoit.pierre@gmail.com>
Wed, 19 Aug 2009 20:56:55 +0000 (22:56 +0200)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sat, 22 Aug 2009 14:56:03 +0000 (10:56 -0400)
commit1a3850da15b12880f355ef70f6bfc881a859874f
tree1017bc7fb4af29411808af43b20a59d25b7a6af3
parentc75e0adcfa6ed3dfa99e8ecc36d8fe6c784aff1e
fix garbaged text in textfield when using ncursesw

Apparently, field_buffer content is not initialized to blanks when using
the wide-character version of ncurses. Forcing a call to
set_field_buffer fix the problem.
lib/sup/textfield.rb