fix: Wrap format pre/suffix within cmd

This commit is contained in:
Michael Carlberg
2016-12-05 05:32:10 +01:00
parent 1a48f825d1
commit 3854515521
7 changed files with 38 additions and 21 deletions

View File

@ -123,13 +123,17 @@ namespace modules {
m_output += m_ellipsis ? "..." : "";
}
auto counter_str = to_string(m_counter);
string output{module::get_output()};
OUTPUT_ACTION(mousebtn::LEFT);
OUTPUT_ACTION(mousebtn::MIDDLE);
OUTPUT_ACTION(mousebtn::RIGHT);
OUTPUT_ACTION(mousebtn::SCROLL_UP);
OUTPUT_ACTION(mousebtn::SCROLL_DOWN);
m_builder->append(module::get_output());
m_builder->append(output);
return m_builder->flush();
}