2021.4.1 #11
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user