Skip to content

Commit

Permalink
update Go-to-Line UI with File/Current Line/Go to Line
Browse files Browse the repository at this point in the history
  • Loading branch information
AlDanial committed Nov 6, 2017
1 parent 5ffbd1a commit 8c81537
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pudb/debugger.py
Expand Up @@ -1168,13 +1168,14 @@ def go_to_line(w, size, key):
_, line = self.source.get_focus()

lineno_edit = urwid.IntEdit([
("label", "Line number: ")
], line+1)
("label", "Go to Line :")
], '')

if self.dialog(
urwid.ListBox(urwid.SimpleListWalker([
labelled_value("File :",
self.source_code_provider.identifier()),
labelled_value("Current Line :", line+1),
urwid.AttrMap(lineno_edit, "value")
])),
[
Expand Down

0 comments on commit 8c81537

Please sign in to comment.