parser: don't enable pixel mouse if the terminal explicitly says it doesn't support it
This commit is contained in:
parent
1c11333717
commit
473357f24a
1 changed files with 6 additions and 3 deletions
|
@ -405,7 +405,10 @@ pub fn parse(self: *Parser, input: []const u8, paste_allocator: ?std.mem.Allocat
|
|||
// 4: permanently reset
|
||||
switch (seq.params[0]) {
|
||||
1016 => {
|
||||
return .{ .event = .cap_sgr_pixels, .n = i + 1 };
|
||||
switch (seq.params[1]) {
|
||||
0, 4 => return .{ .event = null, .n = i + 1 },
|
||||
else => return .{ .event = .cap_sgr_pixels, .n = i + 1 },
|
||||
}
|
||||
},
|
||||
2027 => {
|
||||
switch (seq.params[1]) {
|
||||
|
|
Loading…
Reference in a new issue