Hello, I'm a bit of a C newbie, and was wondering how I would go about detecting when a key has been pressed in a C program without the user having to signal the end of the input with a linefeed.
(I want to be able to store users' past input, and when they press the UP arrow, their last command appears - like a shell)
I think it might involve signals but am not very expreienced in them.
Any and all suggestions would be very helpful!
thankyou all.
Oxy
we are all of us living in the gutter.
But some of us are looking at the stars.
(I want to be able to store users' past input, and when they press the UP arrow, their last command appears - like a shell)
I think it might involve signals but am not very expreienced in them.
Any and all suggestions would be very helpful!
thankyou all.
Oxy
we are all of us living in the gutter.
But some of us are looking at the stars.