asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.47k stars 1.27k forks source link

pyautogui.typewrite writes ">" instead of "<" #749

Open r2dev2 opened 1 year ago

r2dev2 commented 1 year ago
import pyautogui

pyautogui.typewrite("<")

will write a > instead of a <

OS: Arch Linux Pyautogui: 0.9.53

r2dev2 commented 1 year ago

I fixed locally by changing

https://github.com/asweigart/pyautogui/blob/667161b072e89b4a25b806c5f2ca616e6c0aeec3/pyautogui/_pyautogui_x11.py#L282

to be '<': 0x3b

AvdN commented 1 year ago

This is a duplicate of #730