jonathanslenders / ptpdb

prompt_toolkit/ptpython pdb frontend
181 stars 20 forks source link

Implement "smart command mode" of pdb++ #5

Open msabramo opened 9 years ago

msabramo commented 9 years ago

For single character variable names that are also commands, it will default to printing the variable.

E.g.: If I type "c" and then it prints the value of the "c" variable (if there is one). If I want to continue instead, I can type "c" and press and it will complete to "cont" and then I can press .

Fixes #4

Cc: @jonathanslenders, @RonnyPfannschmidt, @antocuni