Add option to copy time

This commit is contained in:
blankie 2023-02-09 18:43:42 +07:00
parent bc6bd4164f
commit bd4336d801
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 0 deletions

View File

@ -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());
}