Skip to content

Commit

Permalink
Merge pull request #282 from AlDanial/go_to_line_number_PR
Browse files Browse the repository at this point in the history
update Go-to-Line UI with File/Current Line/Go to Line
  • Loading branch information
inducer committed Nov 7, 2017
2 parents 5ffbd1a + 34da7d3 commit d367623
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 :")
], None)

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 d367623

Please sign in to comment.