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

github.com/torch/trepl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2015-04-26 23:28:53 +0300
committerSoumith Chintala <soumith@gmail.com>2015-04-26 23:28:53 +0300
commitce091c15a348e4e5c84ff7bc07132a20285495e5 (patch)
treef4a9e611183d88a71bf8de2bd523174dff34cd0a
parentfea2373035581bcbcc4c7b232d1ba7c9df507b36 (diff)
parenta4bcf9303bdba4e936f639335573d0b3fb54f8fb (diff)
Merge pull request #22 from Atcold/patch-1
Added instruction about terpl.colorize to ?
-rw-r--r--init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index c4a83f6..995452d 100644
--- a/init.lua
+++ b/init.lua
@@ -98,6 +98,11 @@ local selfhelp = [[
Optional async repl (based on https://github.com/clementfarabet/async):
]]..col.magenta('th -a')..[[
+
+ Using colors:
+
+ ]]..col.magenta("c = require 'trepl.colorize'")..[[
+ print(c.red(]]..col.red("'a red string'")..[[) .. c.blue(]]..col.blue("'a blue string'")..[[))
]]
-- If no Torch: