]> git.cworth.org Git - sup/blobdiff - lib/sup/textfield.rb
bugfix: edit-message-mode headers broken by case changes
[sup] / lib / sup / textfield.rb
index 479c609e146913c4e1391ef13740ef50a779f8da..c748c7a653a6a3405a089c2cfe4149a17ba82de4 100644 (file)
@@ -33,7 +33,7 @@ class TextField
     @w, @y, @x, @width = window, y, x, width
     @question = question
     @completion_block = block
-    @field = Ncurses::Form.new_field 1, @width - question.length, @y, @x + question.length, 0, 0
+    @field = Ncurses::Form.new_field 1, @width - question.length, @y, @x + question.length, 256, 0
     @form = Ncurses::Form.new_form [@field]
     @value = default
     Ncurses::Form.post_form @form