Ctrl+C in terminal broken on windows
Author: davidefortunatotecnosCreated May 8, 2023Updated Jun 18, 2026
Labelsneed confirmationwindows
With last release of Uvicorn 0.22.0 doing CTRL+C in a windows terminal doesn't work anymore. Everything is frozen and it is impossible to stop it. In addition the command --reload is broken too, because it doesn't restart anymore, probably because of the same issue.
Tried on Windows 11 and Powershell 7.3.4.
Downgrading to version 0.21.1 makes it works again.
Source: Kludex/uvicorn