Opened 6 years ago

Last modified 4 years ago

#30416 assigned Bug

Runserver's reloading mechanism should restore terminal state completely — at Initial Version

Reported by: Daniel Hahler Owned by: nobody
Component: Core (Management commands) Version: 2.2
Severity: Normal Keywords:
Cc: Tom Forbes Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Currently it only ensures that echo is on, but not that e.g. Ctrl-C works etc.

This can be triggered when using pdb++, which uses pyrepl itself: it puts the terminal into raw state.

If the reloader then kicks in while at the prompt this will not be restored (except for echo).

Related issue, which mentions that a better mechanism would be good: https://code.djangoproject.com/ticket/15880

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top