Trapping keyboard characters
Trapping keyboard characters
- Subject: Trapping keyboard characters
- From: Tom Gray <email@hidden>
- Date: Tue, 23 Jul 2002 17:38:40 -0400
Its me again, the newby in over his head trying to write a terminal.
Say, I want to "trap" keyboard keys as they are typed and NOT display them
in my NSTextView. I want to send them off to the remote computer (possibly
echoing the character in a light gray color as a means of providing some
feedback that the character has been typed.)
In other words, since my terminal doesn't use local echo, I need to hold off
displaying the character in my NSTextView until the remote computer echos it
back.
So, what is the best way to "read the keyboard" and "catch the keys" so that
I can send them off to the remote computer.
--
Tom Gray
email@hidden
or
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.