Improved console

This commit is contained in:
Sven Heidemann 2021-03-10 10:49:40 +01:00
parent 221017ae7e
commit 064237904a

View File

@ -165,7 +165,7 @@ class Console:
@classmethod
def read(cls, output: str = None) -> str:
if output is not None and not cls._hold_back:
cls.write(output)
cls.write_line(output)
return input()[0]
@ -177,6 +177,8 @@ class Console:
if output is not None:
cls.write_line(output)
cls._output('\n', end='')
return input()
@classmethod