Add auto-space to prefix
This commit is contained in:
parent
c89ec52019
commit
79fd22305c
|
@ -70,4 +70,8 @@ def echo(message, prefix, state):
|
|||
else:
|
||||
colour = bold()
|
||||
prompt = '>>> '
|
||||
|
||||
# Append space to prefix
|
||||
if prefix != '':
|
||||
prefix = prefix + ' '
|
||||
print(colour + prompt + endc + date + prefix + message)
|
||||
|
|
Loading…
Reference in New Issue