mirror of
https://github.com/rxi/lovebird.git
synced 2024-12-09 01:04:22 +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;
|
||||
color: #606060;
|
||||
}
|
||||
.inputline:before {
|
||||
content: '\00B7\00B7\00B7';
|
||||
padding-right: 5px;
|
||||
}
|
||||
#header {
|
||||
background: #101010;
|
||||
height: 25px;
|
||||
@ -505,8 +509,7 @@ function lovebird.recalcbuffer()
|
||||
str = lovebird.htmlescape(line.str):gsub("\n", "<br>")
|
||||
end
|
||||
if line.type == "input" then
|
||||
str = '<span class="inputline">∙∙∙ ' ..
|
||||
str .. '</span>'
|
||||
str = '<span class="inputline">' .. str .. '</span>'
|
||||
else
|
||||
if line.count > 1 then
|
||||
str = '<span class="repeatcount">' .. line.count .. '</span> ' .. str
|
||||
|
Loading…
Reference in New Issue
Block a user