turing-machines / tpi

CLI tool to control your Turing Pi 2 board
https://docs.turingpi.com/docs/turing-pi2-tpi-cli
Apache License 2.0
29 stars 3 forks source link

prompt: fix failure on powershell #21

Closed ruslashev closed 10 months ago

ruslashev commented 10 months ago

Changes to crossterm in 0.23..0.25 altered key handling on Windows such that identical code would break by receiving an extra Enter key event on startup.

To fix this, downgrade the dependency which, unfortunately, removes bracketed paste support introduced in 0.25.