mirror of
https://github.com/rxi/lovebird.git
synced 2024-11-27 12:04:21 +00:00
Moved echoed line's interpuncts from HTML to CSS
This commit is contained in:
parent
0c91b13e5a
commit
f9205bf2cd
@ -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">∙∙∙ ' ..
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user