Closed jquast closed 9 years ago
This PR is broken -- the old getch() returned "None", and many supporting functions check is None and need to be changed to check != "" or simple truthy/falsey for length:
is None
!= ""
- inp = getch() + inp = term.inkey() - if inp is not None: + if inp:
Repository health decreased by 0.09% when pulling 1cb5f6b on deprecate-getch into 4c193a3 on master.
Repository health decreased by 0.06% when pulling a61df62 on deprecate-getch into 4c193a3 on master.
This PR is broken -- the old getch() returned "None", and many supporting functions check
is None
and need to be changed to check!= ""
or simple truthy/falsey for length: