Moved echoed line's interpuncts from HTML to CSS

This commit is contained in:
rxi 2014-06-28 14:31:45 +01:00
parent 0c91b13e5a
commit f9205bf2cd

View File

@ -84,6 +84,10 @@ end
font-size: 13px; font-size: 13px;
color: #606060; color: #606060;
} }
.inputline:before {
content: '\00B7\00B7\00B7';
padding-right: 5px;
}
#header { #header {
background: #101010; background: #101010;
height: 25px; height: 25px;
@ -505,8 +509,7 @@ 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">&#8729;&#8729;&#8729; ' .. str = '<span class="inputline">' .. str .. '</span>'
str .. '</span>'
else else
if line.count > 1 then if line.count > 1 then
str = '<span class="repeatcount">' .. line.count .. '</span> ' .. str str = '<span class="repeatcount">' .. line.count .. '</span> ' .. str