Permalink
Browse files

Fix an off-by-one in move_end. ("End" key)

  • Loading branch information...
1 parent 8f511af commit b04e8ee1c335ce97086a653b3591109a0da6933d @inducer committed Mar 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 pudb/debugger.py
View
@@ -778,7 +778,7 @@ def move_home(w, size, key):
self.source.set_focus(0)
def move_end(w, size, key):
- self.source.set_focus(len(self.source))
+ self.source.set_focus(len(self.source)-1)
def go_to_line(w, size, key):
_, line = self.source.get_focus()

0 comments on commit b04e8ee

Please sign in to comment.