only discard second arg in rollinglog

This commit is contained in:
Richard Bainesly 2024-06-21 17:29:24 -04:00
parent 97bb2a5e0f
commit e499411123

View file

@ -1677,7 +1677,8 @@ std::string CHyprCtl::getReply(std::string request) {
std::string result = ""; 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. // parse exact cmds first, then non-exact.
for (auto& cmd : m_vCommands) { for (auto& cmd : m_vCommands) {