Fix delete popup

This commit is contained in:
Digital Studium 2024-12-17 22:21:05 +03:00
parent 86c224d951
commit d871cf645f
1 changed files with 2 additions and 0 deletions

2
kls
View File

@ -242,6 +242,8 @@ async def confirm_action(message: str) -> bool:
if key.lower() == 'y':
return True
elif key.lower() == 'n':
popup.clear() # Clear the popup window
popup.refresh() # Refresh the window to hide it
return False