notcurses
notcurses copied to clipboard
`stdin` capture
Hello, as I commented on #729, I finally got to write a notcurses wrapper for Janet programming language. Everything worked fine until I got to the point where I wanted to read something from stdin
and get input with notcurses. I then receive a lot of inputs with the id
1115500 with an unknown type. It stones the process, and I must terminate it with ctrl+c, sometimes getting the terminal into an unusable state.
I am sorry, but my knowledge of the internal working of both notcurses and Janet is meager, but maybe you can give me some advice. Maybe notcurses_inputready_fd
could be of some use here?
And I will understand if this is out of the scope for you, and I am on my own here :-).
Oh, I just received a lesson from a friend who was much cleverer than me. And I see that problem is more in my expectations and misunderstanding. Anyway, I will leave this here for another day before closing, as you may have something to say. Again np if you do not :-).