magmax / python-readchar

Python library to read characters and key strokes
MIT License
143 stars 45 forks source link

The return buffer statement is never executed #21

Closed suresttexas00 closed 7 years ago

suresttexas00 commented 7 years ago

Since there is no "break" any where in the 'while True' loop, return buffer will never be executed. Having it in the code gives the false implication that it might and contributes to making the code less understandable.

suresttexas00 commented 7 years ago

Prefer to see this as part of #13 (or after #13 is pulled).