Welcome to mirror list, hosted at ThFree Co, Russian Federation.

colorize.lua - github.com/torch/trepl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 01923978f865a3938b51bff1961ae30fe0241fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
local colors = require 'trepl.colors'

local f = {}

for name in pairs(colors) do
   f[name] = function(txt)
      return colors[name] .. txt .. colors.none
   end
end

return f