diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2017-03-08 19:45:15 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2017-03-08 20:03:29 +0300 |
| commit | 59b65bb9fbf287df2c1f528ebaefb2f4415ff901 (patch) | |
| tree | 2827c16e199e05d3e30692d102cf700e02484a0f /src | |
| parent | 58bde719e124549768d3d37bfa6c7a90672b8816 (diff) | |
ncurses: Add a Dilbert assistant
Drawn by myself.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ncurses_ui.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 49044bf2..062b5abe 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -51,6 +51,18 @@ static constexpr StringView assistant_clippy[] = " ╰───╯ ", " " }; +static constexpr StringView assistant_dilbert[] = + { R"( დოოოოოდ )", + R"( | | )", + R"( | | ╭)", + R"( |-ᱛ ᱛ-| │)", + R"( Ͼ ∪ Ͽ │)", + R"( | | ╯)", + R"( ˏ`-.ŏ.-´ˎ )", + R"( @ )", + R"( @ )", + R"( )"}; + static void set_attribute(WINDOW* window, int attribute, bool on) { if (on) @@ -1010,6 +1022,8 @@ void NCursesUI::set_ui_options(const Options& options) m_assistant = assistant_clippy; else if (it->value == "cat") m_assistant = assistant_cat; + else if (it->value == "dilbert") + m_assistant = assistant_dilbert; else if (it->value == "none" or it->value == "off") m_assistant = ConstArrayView<StringView>{}; } |
