kiblee / tod0

A Terminal Client for Microsoft To-Do
MIT License
121 stars 19 forks source link

Sometimes the prompt doesn't accept the value after pressing enter #62

Open eight04 opened 3 months ago

eight04 commented 3 months ago

This often happens when the computer is lagging.

  1. In any prompt (e.g. after pressing n to input a task name)
  2. Press enter
  3. The prompt doesn't accept the text but create a new line. I have to press backspace and press enter again.

I wonder if this is a bug in prompt_toolkit.

eight04 commented 2 months ago

https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1894

eight04 commented 2 months ago

I also see the bug on KeyBinding. When typing nfoo while the computer is lagging, it doesn't create a new item but typed nfoo into TextArea.