From 185eeb89c31da7dc245d16448469d35a2d0fad7a Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Mon, 15 Nov 2021 23:54:53 +0100 Subject: Cut long lines in pause screen module Signed-off-by: Olivier Gayot --- cameltris/screens/pause.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cameltris') diff --git a/cameltris/screens/pause.py b/cameltris/screens/pause.py index 4f9a515..760f131 100644 --- a/cameltris/screens/pause.py +++ b/cameltris/screens/pause.py @@ -27,8 +27,10 @@ class Pause(Screen): sys.exit() self.event_handler[pygame.QUIT] = exit_ - self.event_handler[pygame.JOYBUTTONDOWN] = lambda evt: handle_input_pressed(JoystickController(evt.joy), evt) - self.event_handler[pygame.KEYDOWN] = lambda evt: handle_input_pressed(KeyboardController(pygame.key), evt) + self.event_handler[pygame.JOYBUTTONDOWN] = \ + lambda evt: handle_input_pressed(JoystickController(evt.joy), evt) + self.event_handler[pygame.KEYDOWN] = \ + lambda evt: handle_input_pressed(KeyboardController(pygame.key), evt) def refresh(self) -> None: pass -- cgit v1.2.3