[BUG] A question mark created every time I move the cursor [Kali Linux | Python 3.9.9]
luisnquin opened this issue · 1 comments
luisnquin commented
Good morning, I was reading the docs but didn't find an answer so I assumed this is a bug
def open_vscode_or_not(path: str) -> None:
options: list[str] = [
'Nothing', 'Close terminal and open in VSCode', 'Open VSCode']
answer: Union[dict, None] = prompt(
[List('action', message="\nWhat do you want to do with the project?", choices=options)])
if answer['action'] == options[1]:
system(f'code {path}')
kill(getppid(), SIGHUP)
return
elif answer['action'] == options[2]:
system(f'code {path}')
return
This is the output when I try to go up to go down to an answer(The same in VSCode and the terminal)
Project ready in: /home/luisnquin/workspace/projects/aesda
[?]
[?]
[?]
[?]
[?]
[?]
[?]
[?]
What do you want to do with the project?: Close terminal and open in VSCode
Nothing
> Close terminal and open in VSCode
Open VSCode
luisnquin commented
I'm stupid hahahahaha, was the line break in my question