mirror of
https://github.com/TangentFoxy/lovebird.git
synced 2025-07-28 11:02:19 +00:00
Removed timestamp from echoed input lines
This commit is contained in:
@@ -504,8 +504,9 @@ function lovebird.recalcbuffer()
|
||||
str = lovebird.htmlescape(line.str):gsub("\n", "<br>")
|
||||
end
|
||||
if line.type == "input" then
|
||||
str = '<span class="inputline">∙∙' .. str .. '</span>'
|
||||
end
|
||||
str = '<span class="inputline">∙∙∙ ' ..
|
||||
str .. '</span>'
|
||||
else
|
||||
if line.count > 1 then
|
||||
str = '<span class="repeatcount">' .. line.count .. '</span> ' .. str
|
||||
end
|
||||
@@ -513,6 +514,7 @@ function lovebird.recalcbuffer()
|
||||
str = os.date('<span class="timestamp">%H:%M:%S</span> ', line.time) ..
|
||||
str
|
||||
end
|
||||
end
|
||||
return str
|
||||
end
|
||||
lovebird.buffer = table.concat(lovebird.map(lovebird.lines, doline), "<br>")
|
||||
|
Reference in New Issue
Block a user