--- nono/debugger/console.cpp 2026/04/29 17:04:33 1.1.1.2 +++ nono/debugger/console.cpp 2026/04/29 17:04:56 1.1.1.3 @@ -152,8 +152,7 @@ Console::Gets_editline(std::string& buf) // ヒストリに記録 // の前に前後の空白は取り除いておく - std::string hbuf = string_ltrim(buf); - string_rtrim(hbuf); + std::string hbuf = string_trim(buf); // 空文字列でなければ、ヒストリに記録 if (!hbuf.empty()) {