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:
|
except IOError:
|
||||||
pass
|
pass
|
||||||
atexit.register(readline.write_history_file, histfile)
|
atexit.register(readline.write_history_file, histfile)
|
||||||
|
p = pdb.Pdb()
|
||||||
|
readline.set_completer(p.complete)
|
||||||
|
readline.parse_and_bind("tab: complete")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
recvd = b''
|
recvd = b''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user