diff --git a/windows/main.cpp b/windows/main.cpp index d3a6679..27845bb 100644 --- a/windows/main.cpp +++ b/windows/main.cpp @@ -167,6 +167,10 @@ void main_window(bool latest_log_entries_read, ImFont* monospace_font, LogcatThr ImGui::SameLine(); ImGui::SeparatorEx(ImGuiSeparatorFlags_Vertical); ImGui::SameLine(); + if (ImGui::Button("Clear")) { + logcat_entries.clear(); + } + ImGui::SameLine(); if (ImGui::Button("Export")) { ImGui::OpenPopup("export_logcat"); }