-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
terminal.table does not support TrueColor hex codes in it's markup.
import terminalKit from "terminal-kit";
const term = terminalKit.terminal;
for(let i=0;i<256;i+=50){
for(let o=0;o<256;o+=50){
for(let p=0;p<256;p+=50){
term.colorRgb(i,o,p,"#");
}
}
term("\n");
}
term("^[#ffe300]lantern^:, ");
term("^[#ff8e3e]forge^:, ");
term("^[#d7dd49]edge^:, ");
term("^[#beeeff]winter^:, ");
term("^[#f97a89]heart^:, ");
term("^[#fe6150]grail^:, ");
term("^[#f2e9c2]moth^:, ");
term("^[#b54efc]knock^:, ");
term("^[#2c68e1]sky^:, ");
term("^[#ccbcd6]moon^:, ");
term("^[#20a360]nectar^:, ");
term("^[#cb9f4e]scale^:, ");
term("^[#f163ff]rose^:\n");
term("^[red]red^:, ");
term("^[blue]blue^:, ");
term("^[yellow]yellow^:, ");
term("^[green]green^:\n");
term.table([
["^[#ffe300]lantern^:","lantern"],
["^[#ff8e3e]forge^:","forge"],
["^[#d7dd49]edge^:","edge"],
["^[#beeeff]winter^:","winter"],
["^[#f97a89]heart^:","heart"],
["^[#fe6150]grail^:","grail"],
["^[#f2e9c2]moth^:","moth"],
["^[#b54efc]knock^:","knock"],
["^[#2c68e1]sky^:","sky"],
["^[#ccbcd6]moon^:","moon"],
["^[#20a360]nectar^:","nectar"],
["^[#cb9f4e]scale^:","scale"],
["^[#f163ff]rose^:","rose"],
["^[red]red^:","red"],
["^[blue]blue^:","blue"],
["^[yellow]yellow^:","yellow"],
["^[green]green^:","green"],
],{contentHasMarkup: true})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
