Skip to content

Ignore pending input before confirmation prompts

David Kalnischkies requested to merge donkult/apt:feature/ignorantprompt into main

Pressing ENTER for too long lets it end up in the input buffer which the confirmation prompt happily picks up and accepts as confirmation for deleting potentially half your system or doing other silly things. Ironically, this confirmation will also be silent in terms of output as it is likely erased by future progress reporting.

Closes: #1082956

Merge request reports

Loading