diff options
Diffstat (limited to 'UI.cpp')
-rw-r--r-- | UI.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -115,13 +115,14 @@ void UI::draw() fmt::text_style editable_color{fg(fmt::color::crimson) | fmt::emphasis::bold}; fmt::text_style value_color{fg(fmt::color::blue) | fmt::emphasis::bold}; + fmt::text_style input_color{fg(fmt::color::green) | fmt::emphasis::bold}; // clear screen std::cout << "\x1B[2J\x1B[H"; //std::cout << std::endl; - std::cout << "- " << fmt::format(editable_color, "{:3}", bpm) << " BPM +" << std::endl; - std::cout << "Mode: "; + std::cout << fmt::format(editable_color, "{:3}", bpm) << " BPM " << fmt::format(input_color, "(+/-)") << std::endl; + std::cout << "Mode " << fmt::format(input_color, "(m)") << ": "; for (int i = 0; i < mode_names.size(); ++i) { if (i == mode) { std::cout << fmt::format(editable_color, " {}", mode_names[i]); @@ -130,9 +131,9 @@ void UI::draw() } } std::cout << std::endl; - std::cout << "MIDI Note: " << fmt::format(editable_color, "{}/{}", channel, note); + std::cout << "MIDI Note " << fmt::format(input_color, "(n)") << ": " << fmt::format(editable_color, "{}/{}", channel, note); std::cout << std::endl; - std::cout << "Audio Output: " << fmt::format(editable_color, "{}", output_names[output]); + std::cout << "Audio Output " << fmt::format(input_color, "(o)") << ": " << fmt::format(editable_color, "{}", output_names[output]); std::cout << std::endl; std::cout << std::endl; std::cout << "Status:" << std::endl; |