lscpmv
Member
Posts: 19
Likes: 4
|
Post by lscpmv on Sept 28, 2023 13:44:18 GMT
the code below is run by nodejs:
console.blink = function() { this._stdout.write('\x1b[5m' + util.format.apply(this, arguments) + '\x1b[0m\n'); }; //blink console.blink('logger blink:', 'blink------------');
the messages outputted in console is unable to be flashing in terminology.
it works with like gnome-terminal.
|
|
|
Post by ylee on Sept 28, 2023 18:42:21 GMT
That code is using ANSI escape code and it would be clearer if you posted a bash command using that ANSI blink instead of js code:
echo -e "\x1b[5m Blinking text \x1b[0m" And you are right terminology does not support that ANSI sequence. I tested a few other basic ANSI color changes and they work. We do not maintain or work on terminology code ourselves so this would be a question/issue for the e developers who do work on it. If there is a work around they could tell you more or if it is a bug maybe they will fix it. But not all terminals support ALL ANSI sequences, so they might ignore this issue.
If you find a bug or for known issues/bugs/feature requests please email enlightenment-devel@lists.sourceforge.net
|
|