diff options
author | keis <keijser@gmail.com> | 2010-09-10 18:02:59 +0200 |
---|---|---|
committer | keis <keijser@gmail.com> | 2010-09-10 18:02:59 +0200 |
commit | 831e1cc3233227ac7a36f73474931e9579e7e991 (patch) | |
tree | bf1cb7a7b3402f20b48d8426749d9c06cde45367 /examples/data/plugins | |
parent | 814f96d9d9ee984bb7912cebf8e616bb61dafdcc (diff) | |
parent | 1d4b7c0763a89066faa717adea4d35e7a0ad8458 (diff) |
Merge branch 'master' of git://github.com/Dieterbe/uzbl into history
Diffstat (limited to 'examples/data/plugins')
-rw-r--r-- | examples/data/plugins/keycmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/plugins/keycmd.py b/examples/data/plugins/keycmd.py index b600afe..2fb2283 100644 --- a/examples/data/plugins/keycmd.py +++ b/examples/data/plugins/keycmd.py @@ -426,7 +426,7 @@ def keycmd_backspace(uzbl, *args): '''Removes the character at the cursor position in the keycmd.''' k = uzbl.keylet - if not k.keycmd: + if not k.keycmd or not k.cursor: return k.keycmd = k.keycmd[:k.cursor-1] + k.keycmd[k.cursor:] |