From 71e5ea09b41e74745903381f35d9a14cff162f2b Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 14 Apr 2014 17:52:11 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calculate/lib/utils/colortext/printing.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/calculate/lib/utils/colortext/printing.py b/calculate/lib/utils/colortext/printing.py index 147d1d7..75227ee 100644 --- a/calculate/lib/utils/colortext/printing.py +++ b/calculate/lib/utils/colortext/printing.py @@ -32,6 +32,11 @@ class Print(object): self.buffer.append(self.output.setBold()) return self + @property + def underline(self): + self.buffer.append(self.output.setUnderline()) + return self + def foreground(self, color): self.buffer.append(self.output.setForeground(color)) return self