Skip to content
Browse files

Merge remote branch 'pawelz/keycmd-bs-bug' into experimental

  • Loading branch information...
2 parents f25a70a + 0ba5e2e commit e59fa83900bb9b9ee74d80445e73ed01f4ad33bb @mason-larobina mason-larobina committed Jul 1, 2010
Showing with 4 additions and 1 deletion.
  1. +1 −1 README
  2. +3 −0 examples/data/plugins/keycmd.py
View
2 README
@@ -311,7 +311,7 @@ file).
* `javascript_windows`: Whether javascript can open windows automatically
* `shell_cmd`: Alias which will be expanded to use shell commands (eg `sh -c`).
* `print_events`: show events on stdout
-* `proxy_url`: HTTP traffic SOCKS proxy (eg: `http://<host>:<port>`).
+* `proxy_url`: set HTTP proxy (eg: `http://<host>:<port>`).
* `max_conns`: Max simultaneous connections (default: 100).
* `max_conns_host`: max simultaneous connections per hostname (default: 6)
* `view_source`: Set the browser in "view source" mode (default 0). Any URI
View
3 examples/data/plugins/keycmd.py
@@ -429,6 +429,9 @@ def keycmd_backspace(uzbl, *args):
if not k.keycmd:
return
+ if k.cursor == 0:
+ return
+
k.keycmd = k.keycmd[:k.cursor-1] + k.keycmd[k.cursor:]
k.cursor -= 1
update_event(uzbl, k, False)

0 comments on commit e59fa83

Please sign in to comment.
Something went wrong with that request. Please try again.