Software / code / prosody
Comparison
util/termcolours.lua @ 7199:5846e0bca4ff
util.termcolours: Remove argument from noop function [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 25 Feb 2016 22:33:58 +0100 |
| parent | 7198:48d167f652ad |
| child | 7203:be8b88ad35a3 |
comparison
equal
deleted
inserted
replaced
| 7198:48d167f652ad | 7199:5846e0bca4ff |
|---|---|
| 82 windows.set_consolecolor(winstylemap[style] or orig_color); | 82 windows.set_consolecolor(winstylemap[style] or orig_color); |
| 83 last = style; | 83 last = style; |
| 84 end | 84 end |
| 85 end | 85 end |
| 86 if not orig_color then | 86 if not orig_color then |
| 87 function setstyle(style) end | 87 function setstyle() end |
| 88 end | 88 end |
| 89 end | 89 end |
| 90 | 90 |
| 91 local function ansi2css(ansi_codes) | 91 local function ansi2css(ansi_codes) |
| 92 if ansi_codes == "0" then return "</span>"; end | 92 if ansi_codes == "0" then return "</span>"; end |