this repo has no description
13
fork

Configure Feed

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

fix(windows): unbreak shifted characters

authored by

CJ van den Berg and committed by
Tim Culverhouse
c4b53722 99942da4

+3 -2
+3 -2
src/windows/Tty.zig
··· 301 301 return null; 302 302 } 303 303 304 - const codepoint: u21 = base_layout; 304 + var codepoint: u21 = base_layout; 305 305 var text: ?[]const u8 = null; 306 306 switch (event.uChar.UnicodeChar) { 307 307 0x00...0x1F => {}, 308 - else => { 308 + else => |cp| { 309 + codepoint = cp; 309 310 const n = try std.unicode.utf8Encode(codepoint, &self.buf); 310 311 text = self.buf[0..n]; 311 312 },