mirror of
https://github.com/rxi/lovebird.git
synced 2024-11-15 22:54:21 +00:00
Removed timestamp from echoed input lines
This commit is contained in:
parent
d85a4ee47d
commit
1a1a4289da
18
lovebird.lua
18
lovebird.lua
@ -504,14 +504,16 @@ function lovebird.recalcbuffer()
|
|||||||
str = lovebird.htmlescape(line.str):gsub("\n", "<br>")
|
str = lovebird.htmlescape(line.str):gsub("\n", "<br>")
|
||||||
end
|
end
|
||||||
if line.type == "input" then
|
if line.type == "input" then
|
||||||
str = '<span class="inputline">∙∙' .. str .. '</span>'
|
str = '<span class="inputline">∙∙∙ ' ..
|
||||||
end
|
str .. '</span>'
|
||||||
if line.count > 1 then
|
else
|
||||||
str = '<span class="repeatcount">' .. line.count .. '</span> ' .. str
|
if line.count > 1 then
|
||||||
end
|
str = '<span class="repeatcount">' .. line.count .. '</span> ' .. str
|
||||||
if lovebird.timestamp then
|
end
|
||||||
str = os.date('<span class="timestamp">%H:%M:%S</span> ', line.time) ..
|
if lovebird.timestamp then
|
||||||
str
|
str = os.date('<span class="timestamp">%H:%M:%S</span> ', line.time) ..
|
||||||
|
str
|
||||||
|
end
|
||||||
end
|
end
|
||||||
return str
|
return str
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user