diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-08-10 19:21:59 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-08-10 19:21:59 -0400 |
commit | a4931b7202c60749df8aeb01c1acb7d538520041 (patch) | |
tree | c4d32af75fb091583a96ced8db44e925445c9f76 /tables.h | |
parent | 2b03202a30e9da09bfc5c0d382b1f5d2287287a4 (diff) |
Refactored the keyboard I/O emulation.
It now saves the characters of the typed key into a
buffer, and returns each character in the buffer one
at a time, until it reaches a null terminator, at
which point it starts getting the next key.
The reason for doing this was to make getting multi
character keys faster, by not calling getch() for
each character.
The only downside to this is that I have to set a
timeout() for getch(), making it somewhat non
blocking, although the delay is 8 milliseconds.
The next thing I'll probably be doing, is working more
on the SuB suite.
Diffstat (limited to 'tables.h')
0 files changed, 0 insertions, 0 deletions