Closed Cube707 closed 3 weeks ago
getwch() directly returns a string, so we could remove the manual decoding done here:
getwch()
https://github.com/magmax/python-readchar/blob/9991a0b8d299b870f21e0b062fa52961cf329f0e/readchar/_win_read.py#L10-L11
Does a swicht pose problems? Can we overcome theme? Are there donwsides?
Problem 1: using the corisponding ungetwch() in the tests raises a bounch of OSError's
ungetwch()
OSError
getwch()
directly returns a string, so we could remove the manual decoding done here:https://github.com/magmax/python-readchar/blob/9991a0b8d299b870f21e0b062fa52961cf329f0e/readchar/_win_read.py#L10-L11
Does a swicht pose problems? Can we overcome theme? Are there donwsides?