mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add command completion for the remote debugger client
This commit is contained in:
parent
22fdc186f6
commit
346d22b078
@ -114,6 +114,10 @@ def cli(port=4444):
|
||||
except IOError:
|
||||
pass
|
||||
atexit.register(readline.write_history_file, histfile)
|
||||
p = pdb.Pdb()
|
||||
readline.set_completer(p.complete)
|
||||
readline.parse_and_bind("tab: complete")
|
||||
|
||||
try:
|
||||
while True:
|
||||
recvd = b''
|
||||
|
Loading…
x
Reference in New Issue
Block a user