changeset 48:63e0bb8b9300

Fixed backspace in bar
author unexist
date Sun, 24 Jan 2010 16:14:28 +0100
parents 878a40d32d22
children 9d3a42182c45
files subtly/browser.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/subtly/browser.rb	Sun Jan 24 16:11:02 2010 +0100
+++ b/subtly/browser.rb	Sun Jan 24 16:14:28 2010 +0100
@@ -165,7 +165,7 @@
       
       # Add the hook
       @hooks[event] = blk
-    end
+    end # }}}
 
     # Customization
 
@@ -356,7 +356,7 @@
             when :uri then
               # Delete char in input
               if(":open " != @input.text)
-                @input.text.chop!
+                @input.text = @input.text.chop
               end
             when :find then
               # Delete char in buffer