this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(win32): ignore altGr modifiers

authored by

CJ van den Berg and committed by
Tim Culverhouse
4e5a0659 34f4e032

+4 -2
+4 -2
src/tty.zig
··· 652 652 const alt: u32 = left_alt | right_alt; 653 653 const ctrl: u32 = left_ctrl | right_ctrl; 654 654 655 + const altGr = (mods & right_alt > 0) and (mods & left_ctrl > 0); 656 + 655 657 return .{ 656 658 .shift = mods & shift > 0, 657 - .alt = mods & alt > 0, 658 - .ctrl = mods & ctrl > 0, 659 + .alt = if (altGr) mods & left_alt > 0 else mods & alt > 0, 660 + .ctrl = if (altGr) mods & right_ctrl > 0 else mods & ctrl > 0, 659 661 .caps_lock = mods & caps > 0, 660 662 .num_lock = mods & num_lock > 0, 661 663 };