impr: Added clip library to improve clipboard situation

This commit is contained in:
WerWolv
2025-05-29 19:56:46 +02:00
parent 224fa83c65
commit 96ef758bbd
11 changed files with 146 additions and 36 deletions

View File

@@ -10,6 +10,7 @@
#include <popups/popup_file_chooser.hpp>
#include <filesystem>
#include <hex/helpers/clipboard.hpp>
#include <wolv/io/fs.hpp>
#include <wolv/literals.hpp>
@@ -231,7 +232,7 @@ namespace hex::plugin::yara {
const auto &message = m_consoleMessages->at(i);
if (ImGui::Selectable(message.c_str()))
ImGui::SetClipboardText(message.c_str());
clipboard::setTextData(message);
}
}
}