mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update TODO
This commit is contained in:
parent
98db32b251
commit
00ae3b2fbd
2 changed files with 10 additions and 2 deletions
10
src/misc.c
10
src/misc.c
|
|
@ -120,3 +120,13 @@ long string_to_long(char *string)
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
int ctrl_key_code(unsigned char key)
|
||||
{
|
||||
if ((key >= 'a') && (key <= 'z'))
|
||||
{
|
||||
return key & ~0x60;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue