assistant: no need for raw strings
This commit is contained in:
parent
3a60e633a4
commit
6318f2268f
|
@ -555,14 +555,14 @@ void menu(const CommandParameters& params, Context& context)
|
||||||
static String assist(String message, CharCount maxWidth)
|
static String assist(String message, CharCount maxWidth)
|
||||||
{
|
{
|
||||||
static const std::vector<String> assistant =
|
static const std::vector<String> assistant =
|
||||||
{ R"( ╭──╮ )",
|
{ " ╭──╮ ",
|
||||||
R"( │ │ )",
|
" │ │ ",
|
||||||
R"( @ @ ╭)",
|
" @ @ ╭",
|
||||||
R"( ││ ││ │)",
|
" ││ ││ │",
|
||||||
R"( ││ ││ ╯)",
|
" ││ ││ ╯",
|
||||||
R"( │╰─╯│ )",
|
" │╰─╯│ ",
|
||||||
R"( ╰───╯ )",
|
" ╰───╯ ",
|
||||||
R"( )" };
|
" " };
|
||||||
|
|
||||||
const CharCount maxBubbleWidth = maxWidth - assistant[0].char_length() - 6;
|
const CharCount maxBubbleWidth = maxWidth - assistant[0].char_length() - 6;
|
||||||
CharCount bubbleWidth = 0;
|
CharCount bubbleWidth = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user