1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-18 05:17:55 +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
2023-07-03 12:54:13 +10:00
2023-04-30 13:19:53 +10:00
2023-06-01 20:12:20 +10:00
2023-04-30 13:19:53 +10:00
2023-07-22 14:36:35 +10:00
2023-06-03 15:54:03 +10:00
2023-07-19 21:16:27 +10:00
2023-04-30 13:19:53 +10:00
2023-07-19 21:16:27 +10:00
2023-05-25 23:52:19 +10:00
2023-04-30 13:19:52 +10:00
2023-04-30 13:19:53 +10:00