From bd4336d80110c77fe8a29d278d17ace4c6ce7131 Mon Sep 17 00:00:00 2001 From: blankie Date: Thu, 9 Feb 2023 18:43:42 +0700 Subject: [PATCH] Add option to copy time --- windows/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/main.cpp b/windows/main.cpp index 6911bc5..d093dfe 100644 --- a/windows/main.cpp +++ b/windows/main.cpp @@ -22,6 +22,7 @@ static inline void render_table_item(const LogcatEntry& logcat_entry, size_t log ImGui::PushFont(nullptr); if (ImGui::Selectable("Copy")) ImGui::SetClipboardText(text.c_str()); + if (ImGui::Selectable("Copy Time")) ImGui::SetClipboardText(time_as_str); if (ImGui::Selectable("Copy User", false, logcat_entry.user ? 0 : ImGuiSelectableFlags_Disabled)) { ImGui::SetClipboardText(logcat_entry.user->c_str()); }