29 void save(ImGuiTextBuffer& buf)
override;
39 static int textEditCallbackStub(ImGuiInputTextCallbackData* data);
40 int textEditCallback(ImGuiInputTextCallbackData* data);
41 void colorize(std::string_view line);
42 void putHistory(std::string command);
47 void output(std::string_view text)
override;
48 [[nodiscard]]
unsigned getOutputColumns()
const override;
57 std::string historyBackupLine;
62 std::string commandBuffer;
68 unsigned columns = 80;
69 bool scrollToBottom =
false;
70 bool wasShown =
false;
73 static constexpr auto persistentElements = std::tuple{