kbdfs: fix ctlr+alt+del with new escape pages

This commit is contained in:
cinap_lenrek 2013-11-24 09:07:28 +01:00
parent 214d37ce83
commit 94fd92cb69

View file

@ -291,9 +291,9 @@ kbdputsc(Scan *scan, int c)
if(c >= Nscan) if(c >= Nscan)
return; return;
if(scan->esc1 && scan->ctl) if(scan->esc1 && scan->ctl && kbtabctrlesc1[c] != 0)
key.r = kbtabctrlesc1[c]; key.r = kbtabctrlesc1[c];
else if(scan->esc1 && scan->shift) else if(scan->esc1 && scan->shift && kbtabshiftesc1[c] != 0)
key.r = kbtabshiftesc1[c]; key.r = kbtabshiftesc1[c];
else if(scan->esc1) else if(scan->esc1)
key.r = kbtabesc1[c]; key.r = kbtabesc1[c];