def color(self, color):
pass
- def bold(self, enable):
+ def bold(self, enable = True):
+ pass
+
+ def strike(self):
pass
def italic(self):
else:
self._escape('21m')
+ def strike(self):
+ self._escape('9m')
+
def italic(self):
self._escape(self._italic)
intensity = self._attribute & self.FOREGROUND_INTENSITY
self._setAttribute(color | intensity)
- def bold(self, enable):
+ def bold(self, enable = True):
if enable:
attribute = self._attribute | self.FOREGROUND_INTENSITY
else: