lib/sup/textfield.rb in sup-0.0.6 vs lib/sup/textfield.rb in sup-0.0.7
- old
+ new
@@ -27,9 +27,10 @@
def position_cursor
@w.attrset Colormap.color_for(:none)
@w.mvaddstr @y, 0, @question
Ncurses.curs_set 1
Ncurses::Form.form_driver @form, Ncurses::Form::REQ_END_FIELD
+ Ncurses::Form.form_driver @form, Ncurses::Form::REQ_NEXT_CHAR if @history[@i] =~ / $/ # fucking RETARDED!!!!
end
def deactivate
@form.unpost_form
@form.free_form