summaryrefslogtreecommitdiffstats
path: root/src/cmds_command.c
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-03-14 23:24:09 -0300
committerAndrés <andmarti@gmail.com>2021-03-14 23:24:09 -0300
commit5c2ba9f888572fe5e6d8a89519db58e3a55d95e1 (patch)
treeaa74bf823fa5430d147140dc2825285210d646b3 /src/cmds_command.c
parent0aca263b755f49a0c82c6d72ba4ce9ed5c5632ce (diff)
added define_color to command mode
Diffstat (limited to 'src/cmds_command.c')
-rw-r--r--src/cmds_command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmds_command.c b/src/cmds_command.c
index 385439f..55f1ce9 100644
--- a/src/cmds_command.c
+++ b/src/cmds_command.c
@@ -105,6 +105,7 @@ L"e! txt",
L"e! mkd",
L"e! xlsx",
L"datefmt",
+L"define_color",
L"delfilter",
L"delfilters",
L"file",
@@ -407,6 +408,9 @@ void do_commandmode(struct block * sb) {
}
send_to_interp(cline);
+ } else if ( ! wcsncmp(inputline, L"define_color", 12) ) {
+ send_to_interp(inputline);
+
} else if ( ! wcsncmp(inputline, L"redefine_color", 14) ) {
send_to_interp(inputline);