pw_console: Upgrade prompt_toolkit and ptpython

New versions support mouse drag events.

Change-Id: I26fdc1327732f97903d611d5b86ac2e569583abc
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/68741
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
diff --git a/pw_console/py/setup.cfg b/pw_console/py/setup.cfg
index 35d611a..7db01cc 100644
--- a/pw_console/py/setup.cfg
+++ b/pw_console/py/setup.cfg
@@ -24,8 +24,8 @@
 install_requires =
     ipython
     jinja2
-    prompt_toolkit==3.0.20
-    ptpython>=3.0.18
+    prompt_toolkit>=3.0.20
+    ptpython>=3.0.20
     pw_cli
     pw_tokenizer
     pygments
diff --git a/pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list b/pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list
index 18a147d..fc69696 100644
--- a/pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list
+++ b/pw_env_setup/py/pw_env_setup/virtualenv_setup/constraint.list
@@ -42,7 +42,7 @@
 pexpect==4.8.0
 pickleshare==0.7.5
 Pillow==8.2.0
-prompt-toolkit==3.0.20
+prompt-toolkit==3.0.22
 protobuf==3.19.1
 psutil==5.8.0
 ptpython==3.0.20