diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-10-30 23:42:04 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-10-30 23:42:36 -0700 |
| commit | ea3197aaffba00318920ed5e1e33ca5f2a5e6c5c (patch) | |
| tree | 2ec4aff13c7a54a3730994525b591ac60528b5ad /lib/consolecolor.nom | |
| parent | e7e84c9eda38c930f5475301de4a449dcf59e8b6 (diff) | |
Fully working version of (action [foo]: baz) -> ((foo) means: baz)
refactor and misc other changes.
Diffstat (limited to 'lib/consolecolor.nom')
| -rw-r--r-- | lib/consolecolor.nom | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/consolecolor.nom b/lib/consolecolor.nom index f4c4df9..e0e032d 100644 --- a/lib/consolecolor.nom +++ b/lib/consolecolor.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V4.8.8.6 +#!/usr/bin/env nomsu -V4.8.10 # This file defines actions for ANSI console color escape codes. @@ -15,8 +15,7 @@ test: for %name = %colornum in %colors: %colornum = "\%colornum" (=lua "COMPILE_ACTIONS").%name = (..) - [%nomsu, %tree] -> (..) - Lua value "'\\027[\(%colornum)m'" + [%nomsu, %tree] -> (Lua value "'\\027[\(%colornum)m'") (=lua "COMPILE_ACTIONS")."\%name 1" = (..) [%nomsu, %tree, %text] -> (..) Lua value "('\\027[\(%colornum)m'..\(%text as lua expr)..'\\027[0m')" |
