mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 13:03:13 +00:00
lua: fix mix of spaces & tabs
This commit is contained in:
1 parent
716c17bac8
commit
05ff45e550
41 files changed
+5185
-5185
No files matched your search
@@ -1,12 +1,12 @@
|
||||
print("This is how a cmd-line interface could be implemented\nPrint 'exit' to exit.\n")
|
||||
local answer
|
||||
repeat
|
||||
io.write("$>")
|
||||
io.flush()
|
||||
answer=io.read()
|
||||
if answer ~= 'exit' then
|
||||
local func = assert(loadstring("return " .. answer))
|
||||
io.write("\n"..tostring(func() or "").."\n");
|
||||
end--]]
|
||||
until answer=="exit"
|
||||
io.write("$>")
|
||||
io.flush()
|
||||
answer=io.read()
|
||||
if answer ~= 'exit' then
|
||||
local func = assert(loadstring("return " .. answer))
|
||||
io.write("\n"..tostring(func() or "").."\n");
|
||||
end--]]
|
||||
until answer=="exit"
|
||||
print("Bye\n");
|
||||
Reference in new issue
Block a user