AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
246 stars 61 forks source link

In the SDL1 (macOS) version, keystrokes are entered on the terminal side. #121

Open miyamoto999 opened 3 years ago

miyamoto999 commented 3 years ago

119 のプルリクエストに書いたmacOSでの問題です。

SDL1(macOS)版でなぜかキー入力がターミナルで入力されてしまう。SDL1(Linux)では問題ない。 試しに、SDL1のチュートリアルにあったプログラムでも問題ない。単純にmacOSのSDL1の問題と言うわけではないようです。

なぜ、こうなるんだろう・・・


This is the problem on macOS that I mentioned in #119 pull request.

Why the keystrokes are entered in the terminal on the SDL1 (macOS) version, no problem on SDL1 (Linux).

Try it out, the example program from the SDL1 tutorial is no problem.It is not simply a problem with SDL1 on macOS.

Why is this happening...

AZO234 commented 3 years ago

ご報告ありがとうございます。 ほ、ほんとだ・・・。 キー入力ログがprintf()で出ているだけ、とか考えちゃいますが、 確認します。

Edit: LinuxのSDL1では発生しませんでした。