Skip to content

Commit

Permalink
Made the context info 'clear' so the screen is persistent (more tui-l…
Browse files Browse the repository at this point in the history
…ike)
  • Loading branch information
Bret Barkley committed Aug 8, 2016
1 parent b7c7d7a commit 0321d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peda.py
Expand Up @@ -4267,7 +4267,7 @@ def context_register(self, *arg):

pc = peda.getreg("pc")
# display register info
msg("[%s]" % "registers".center(78, "-"), "blue")
msg("\033[2J\033[0;0H [%s]" % "registers".center(78, "-"), "blue")
self.xinfo("register")

return
Expand Down

0 comments on commit 0321d83

Please sign in to comment.