]> git.cworth.org Git - sup/blobdiff - lib/sup/textfield.rb
Merge branch 'logging'
[sup] / lib / sup / textfield.rb
index f52aa821d3b7ef540dfe2509bba2b998142129a6..76803bf97c9a00bc394a6f9e59c4f26b6b318b9e 100644 (file)
@@ -112,11 +112,11 @@ class TextField
         unless @history.empty?
           value = get_cursed_value
           @i ||= @history.size
-          #Redwood::log "history before #{@history.inspect}"
+          #debug "history before #{@history.inspect}"
           @history[@i] = value #unless value =~ /^\s*$/
           @i = (@i + (c == Ncurses::KEY_UP ? -1 : 1)) % @history.size
           @value = @history[@i]
-          #Redwood::log "history after #{@history.inspect}"
+          #debug "history after #{@history.inspect}"
           set_cursed_value @value
           Ncurses::Form::REQ_END_FIELD
         end