mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 02:27:26 -07:00
lprint: deal with prompt differently
This commit is contained in:
parent
ea83ce81aa
commit
0fe5825004
1 changed files with 2 additions and 2 deletions
|
@ -77,9 +77,9 @@ def startlog(uid, dpath, append=False):
|
|||
logbuffer = ''
|
||||
|
||||
|
||||
def lprint(s='', end='\n', flush=False, prompt="[=]", log=True):
|
||||
def lprint(s='', end='\n', flush=False, prompt="[=] ", log=True):
|
||||
|
||||
s = f"{prompt} " + f"\n{prompt} ".join(s.split('\n'))
|
||||
s = f"{prompt}" + f"\n{prompt}".join(s.split('\n'))
|
||||
print(s, end=end, flush=flush)
|
||||
|
||||
if log is True:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue