From 6f4784daed7ec85167c6b016e087f32615dee91f Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 4 Jun 2025 22:14:49 -0400 Subject: [PATCH] Pty layouts skipped in keyboard layout cycling. --- .../commands/commands/cycle_keyboard_layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/commands/commands/cycle_keyboard_layout.py b/src/fenrirscreenreader/commands/commands/cycle_keyboard_layout.py index 1e38f343..7f7f977b 100644 --- a/src/fenrirscreenreader/commands/commands/cycle_keyboard_layout.py +++ b/src/fenrirscreenreader/commands/commands/cycle_keyboard_layout.py @@ -33,7 +33,7 @@ class command(): if os.path.exists(keyboardPath): for file in os.listdir(keyboardPath): - if file.endswith('.conf') and not file.startswith('__'): + if file.endswith('.conf') and not file.startswith('__') and not file.lower().startswith('pty'): layout_name = file.replace('.conf', '') if layout_name not in layouts: layouts.append(layout_name)