Skip to content

Commit

Permalink
Fix Meta/Alt key bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
amoldeshpande committed Jan 10, 2021
1 parent a4fea2a commit 7a568a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ int consoleread(HANDLE hInput, unsigned char * buf,size_t howmany) {
)
ch = 0;
if (alt_pressed) {
#ifdef DSPMBYTE
#if defined(DSPMBYTE) || (WINNT_NATIVE_UTF8_SUPPORT)
buf[where++] = '\033';
if (howmany == 1)
pre_ch = ch;
Expand Down

0 comments on commit 7a568a1

Please sign in to comment.