mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Added clip library to improve clipboard situation
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user