mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-09 15:19:13 +02:00
Fix brightness up key not working (closes #763)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
e90cf40e5b
commit
d9204131aa
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ pub fn main() !void {
|
|||
const sleep_len = try TerminalBuffer.strWidth(lang.sleep);
|
||||
const brightness_down_key = if (config.brightness_down_key) |key| try std.fmt.parseInt(u8, key[1..], 10) else null;
|
||||
const brightness_down_len = try TerminalBuffer.strWidth(lang.brightness_down);
|
||||
const brightness_up_key = if (config.brightness_down_key) |key| try std.fmt.parseInt(u8, key[1..], 10) else null;
|
||||
const brightness_up_key = if (config.brightness_up_key) |key| try std.fmt.parseInt(u8, key[1..], 10) else null;
|
||||
const brightness_up_len = try TerminalBuffer.strWidth(lang.brightness_up);
|
||||
|
||||
var event: termbox.tb_event = undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue