--- nono/debugger/console.cpp 2026/04/29 17:04:30 1.1.1.1 +++ nono/debugger/console.cpp 2026/04/29 17:04:33 1.1.1.2 @@ -1,6 +1,7 @@ // // nono -// Copyright (C) 2020 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #include "console.h" @@ -178,7 +179,7 @@ Console::Gets_normal(std::string& buf) // 入力チェック int -Console::Poll() +Console::Poll(int msec) { struct pollfd pfd; @@ -190,7 +191,7 @@ Console::Poll() pfd.fd = inp.fd; pfd.events = POLLIN; pfd.revents = 0; - int r = poll(&pfd, 1, 0); + int r = poll(&pfd, 1, msec); return r; }