Commits

Anonymous committed 5e0a021

Add a banner to bpdb informing you of the "B" command.

Comments (0)

Files changed (1)

         pdb.Pdb.__init__(self)
         self.rcLines = []
         self.prompt = '(BPdb) '
+        self.intro = 'Use "B" to enter BPython, Ctrl-d to exit it.'
 
+    def postloop(self):
+        # We only want to show the intro message once.
+        #self.intro = None
+        pdb.Pdb.postloop(self)
 
     ### cmd.Cmd commands