mirror of
https://github.com/rfivet/uemacs.git
synced 2025-09-26 07:04:00 -04:00
describe-key displays keycode in hexadecimal.
mlwrite assume parameter is unsigned int when doing %x format. ostring output bytes > 0x7F as unsigned char.
This commit is contained in:
4
bind.c
4
bind.c
@@ -81,7 +81,9 @@ int deskey(int f, int n)
|
||||
|
||||
/* get the command sequence to describe
|
||||
change it to something we can print as well */
|
||||
cmdstr(c = getckey(FALSE), &outseq[0]);
|
||||
c = getckey( FALSE) ;
|
||||
mlwrite( ": describe-key 0x%x, ", c) ;
|
||||
cmdstr( c, &outseq[ 0]) ;
|
||||
|
||||
/* and dump it out */
|
||||
ostring(outseq);
|
||||
|
Reference in New Issue
Block a user