1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-17 21:18:31 +02:00
Arnaud MASSERANN 4f807eeb19 Could not type special characters on non-english keyboards
On german/french/spanish keyboards, typing [ requires modifier
keys like AltGr, so the `mod==0` condition is wrong.

Fixes #2573

ch != 0 is useless because IsPrint is implemented this way:
	if uint32(r) <= MaxLatin1 {
		return properties[uint8(r)]&128 != 0
	}
with properties[0] set to 1 (so, bit 7 not set)
-> 0 is not printable.
2023-07-23 14:33:50 +02:00
..
2023-07-22 14:36:35 +10:00
2021-04-20 18:34:47 +10:00
2023-02-26 12:54:13 +11:00
2023-07-22 14:36:35 +10:00
2023-05-25 18:31:32 +10:00
2023-05-23 19:15:33 +10:00
2022-12-30 12:18:59 +11:00
2023-07-03 12:57:11 +10:00