Commits

Andreas Stührk  committed 32a235b

Add a isatty() method to CLIRepl. Refs #149.

Patch by Łukasz Langa.

  • Participants
  • Parent commits 086be2e

Comments (0)

Files changed (1)

File bpython/cli.py

             self.scr.refresh()
         return True
 
+    def isatty(self):
+        return True
+
     def lf(self):
         """Process a linefeed character; it only needs to check the
         cursor position and move appropriately so it doesn't clear