refactor: Rename press_windows_key to windows_key for consistency
This commit is contained in:
		@@ -86,7 +86,7 @@ def wait(duration: float) -> None:
 | 
				
			|||||||
    """Waits for the specified duration in seconds."""
 | 
					    """Waits for the specified duration in seconds."""
 | 
				
			||||||
    time.sleep(duration)
 | 
					    time.sleep(duration)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def press_windows_key() -> None:
 | 
					def windows_key() -> None:
 | 
				
			||||||
    """Presses the Windows key."""
 | 
					    """Presses the Windows key."""
 | 
				
			||||||
    pyautogui.hotkey('win')
 | 
					    pyautogui.hotkey('win')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -102,7 +102,7 @@ def _execute(name, args=[], processor=None):
 | 
				
			|||||||
        press_keyboard(KeyboardInput(**args))
 | 
					        press_keyboard(KeyboardInput(**args))
 | 
				
			||||||
    elif name == "wait":
 | 
					    elif name == "wait":
 | 
				
			||||||
        wait(**args)
 | 
					        wait(**args)
 | 
				
			||||||
    elif name == "press_windows_key":
 | 
					    elif name == "windows_key":
 | 
				
			||||||
        press_windows_key()
 | 
					        windows_key()
 | 
				
			||||||
    elif name == "reprompt":
 | 
					    elif name == "reprompt":
 | 
				
			||||||
        reprompt(**args, processor=processor)
 | 
					        reprompt(**args, processor=processor)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user