#πŸ”’ multiple key listener

10 messages Β· Page 1 of 1 (latest)

hushed canopy
#

I'm making a project using windows curses and for now i'm reading keys using the stdscr to listen to keys being held down, however I can't seem to get it to listen to multiple key inputs at once. Is there any way to get multiple key hold downs like in a list or something with or without using the stdscr?
I apologize if this is a silly question, but I'm not really used to curses and can't seem to find much about this that works.
Thanks :)

hearty deltaBOT
#

@hushed canopy

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

signal fiber
hearty deltaBOT
#

Library to easily read single chars and key strokes

Released on <t:1730744887:D>.

hushed canopy
# signal fiber !pip readchar - does this work?

it kinda works, thanks! But I think I managed to get something a bit more managable using keyboard and threads for now. Still thank you for the suggestion, i'll get a better look on it later ^^

signal fiber
#

im not really sure what you'd even use in this case

#

@unkempt lark what do you suggest for terminal shenanigans?

hearty deltaBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.