mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
lprint: deal with prompt differently
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user