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