Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turtle_teleop_key: consider to handle key input by getch method #16

Open
takasehideki opened this issue Dec 14, 2022 · 1 comment
Open

Comments

@takasehideki
Copy link
Member

Sorry that this issue goes in Japanese because this is just a memo for me.
relate:
10d7579

@takasehideki
Copy link
Member Author

前の実装ではキーボード入力を拾うために Ruby script を用いていた.getch() ぽく拾いたかったため.
参考:
https://elixirforum.com/t/portable-getch-for-elixir/44269

この実装はポータビリティが低く,特に Nerves デバイス上では動作しない.とりあえず IO.gets の改行付きで代用することにしたが,できることなら別の方法を模索したい.

調べてみた限りの情報:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant