23 Mar
2011
23 Mar
'11
3:41 p.m.
https://bugs.archlinux.org/task/20538 The attached patch flushes the terminal input buffer shortly before prompting users for input to answer a question. On the one hand, I can see how this might be nice when you accidentally hit <enter> twice, or fat finger a key during a download and press <enter> at the prompt only to be oddly returned to your shell. On the other hand, I've occasionally abused this exact behavior to walk away from my computer in the middle of a large -Syu. Thoughts? Any issues with the code approach? dave