Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ohac committed Nov 21, 2009
1 parent 119ec0a commit cc3c157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffisetprmpt.patch
@@ -1,5 +1,5 @@
diff --git a/lib/termtter/system_extensions.rb b/lib/termtter/system_extensions.rb
index aee63b2..7396e68 100644
index aee63b2..36bf56d 100644
--- a/lib/termtter/system_extensions.rb
+++ b/lib/termtter/system_extensions.rb
@@ -22,6 +22,9 @@ module Readline
Expand All @@ -19,7 +19,7 @@ index aee63b2..7396e68 100644
+
+ def delete_text
+ e = rl_end
+ rl_delete_text(0, rl_end) if e > 0
+ rl_delete_text(0, e) if e > 0
+ end
+
+ def set_prompt(s)
Expand Down

0 comments on commit cc3c157

Please sign in to comment.