diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 1c7e1ca3..f3de4cbd 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -1677,7 +1677,8 @@ std::string CHyprCtl::getReply(std::string request) { std::string result = ""; - request = request.substr(0, request.find(" ")); + if (request.starts_with("rollinglog")) + request = request.substr(0, request.find(" ")); // parse exact cmds first, then non-exact. for (auto& cmd : m_vCommands) {