Skip to content

! and * dont type correctly when they are the first char of the sequence #76

@rsa17826

Description

@rsa17826

! and * dont type correctly when they are the first char of the sequence both through -k asterisk and through passing as literal

>>> subprocess.run(["wtype", "--", "******asd***"], check=True)
^[^[^[^[^[^[asd^[^[^[CompletedProcess(args=['wtype', '--', '******asd***'], returncode=0)
>>>                     asd
KeyboardInterrupt
>>> subprocess.run(["wtype", "a", "******asd***"], check=True)
a ******asd***CompletedProcess(args=['wtype', 'a', '******asd***'], returncode=0)
>>> subprocess.run(["wtype", "", "******asd***"], check=True)
^[******asd***CompletedProcess(args=['wtype', '', '******asd***'], returncode=0)
>>>  *****asd***
KeyboardInterrupt
>>> subprocess.run(["wtype", "", "!!!asd***"], check=True)
^[!!!asd***CompletedProcess(args=['wtype', '', '!!!asd***'], returncode=0)
>>> !!asd***
KeyboardInterrupt
>>> subprocess.run(["wtype", "--", "!!!asd***"], check=True)
^[^[^[asd***CompletedProcess(args=['wtype', '--', '!!!asd***'], returncode=0)
>>>     sd***
KeyboardInterrupt
>>> subprocess.run(["wtype","!!!asd***"], check=True)
^[^[^[asd***CompletedProcess(args=['wtype', '!!!asd***'], returncode=0)
>>>     sd***
KeyboardInterrupt
>>> subprocess.run(["wtype", "--", " !!!asd***"], check=True)
^[!!!asd***CompletedProcess(args=['wtype', '--', ' !!!asd***'], returncode=0)
>>> !!asd***
KeyboardInterrupt
>>> subprocess.run(["wtype", "-k", "asterisk"], check=True)
^[CompletedProcess(args=['wtype', '-k', 'asterisk'], returncode=0)
>>> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions