You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at the code on my fork.
It is solvable by putting a state variable inside the CogGenerator like this:
defstart_on_new_line(self):
""""check if to fill in a \n to start on a new line with the following output. """ifself.inside_line:
self.inside_line=Falseself.prout('', end='\n')
defmsg(self, s):
self.start_on_new_line()
self.prout("Message: "+s)
I am now looking at the test cases.
Do you know if there is already one who is looking for the standard output?
42sol-eu
changed the title
message dialog will not apear on a new line (on Windows 10?)
message line will not apear on a new line (on Windows 10?)
Dec 9, 2019
if I use the
cog.msg( ... )
the first call will be directly printed on theCogging ...
output line.Every following message will be printed on a own separate line.
Suggestion: Add a new_line to the Cogging output
The text was updated successfully, but these errors were encountered: