From 7e722fdd45496e6c8dd115faa7fab265e13b2e93 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sat, 24 Jan 2015 14:23:24 +0100 Subject: Support for italic and underline in logger (yay, toys!) --- src/core/frontend/Terminal.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/core/frontend/Terminal.hpp') diff --git a/src/core/frontend/Terminal.hpp b/src/core/frontend/Terminal.hpp index 730853d..90a2e6f 100644 --- a/src/core/frontend/Terminal.hpp +++ b/src/core/frontend/Terminal.hpp @@ -111,6 +111,20 @@ public: */ std::string bright() const; + /** + * Makes the text italic. + * + * @return a control string to be included in the output stream. + */ + std::string italic() const; + + /** + * Underlines the text. + * + * @return a control string to be included in the output stream. + */ + std::string underline() const; + /** * Returns a control string for switching to the default mode. * -- cgit v1.2.3