On Fri, Dec 27, 2019 at 9:04 AM Hans Petter Selasky <h...@selasky.org> wrote:
>
> TODO:
>
> Is there a way to distinguish between key events which are key-presses
> and events which are auto-repeated key-presses?
>

At the risk of asking a dumb question, where are you wanting to make
this distinction at?

I haven't thought much about it, but it looks like we could either
burn the last keyflag for it (we haven't added one in at least 13
years) or use `NOKEY | keychar` as an indicator for this, as I think
that would still make logical sense. NOKEY is currently used a
standalone value for 'no key pressed marker', and everything in-tree
seems to check (read_char() == NOKEY) rather than
(KEYFLAGS(read_char()) == NOKEY) for the current interpretation.

Thanks,

Kyle Evans
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to