X Tutup
Skip to content

Commit cf86292

Browse files
committed
Add a banner to bpdb informing you of the "B" command.
1 parent 03b2271 commit cf86292

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bpdb/debugger.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ def __init__(self):
3131
pdb.Pdb.__init__(self)
3232
self.rcLines = []
3333
self.prompt = '(BPdb) '
34+
self.intro = 'Use "B" to enter BPython, Ctrl-d to exit it.'
3435

36+
def postloop(self):
37+
# We only want to show the intro message once.
38+
#self.intro = None
39+
pdb.Pdb.postloop(self)
3540

3641
### cmd.Cmd commands
3742

0 commit comments

Comments
 (0)
X Tutup