mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
input: proper optional entry handling
This commit is contained in:
@ -111,15 +111,11 @@ fn kitty(
|
||||
}
|
||||
}
|
||||
|
||||
const final_entry = entry_ orelse {
|
||||
// TODO: we need to look it up
|
||||
return "";
|
||||
};
|
||||
|
||||
const entry = entry_ orelse return "";
|
||||
const seq: KittySequence = seq: {
|
||||
var seq: KittySequence = .{
|
||||
.key = final_entry.code,
|
||||
.final = final_entry.final,
|
||||
.key = entry.code,
|
||||
.final = entry.final,
|
||||
.mods = KittyMods.fromInput(all_mods),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user