3 ms·
Hmm, I get the following: [scotty@Scotty-Allens-MacBook-Air ~/bin]$ spark 1,2,3,4,5 ▇\c ▇\c ▇\c ▇\c ▇\c I suspect this has something to do with my
by scottyallen 15y ago
Hmm, I get the following:
[scotty@Scotty-Allens-MacBook-Air ~/bin]$ spark 1,2,3,4,5
▇\c
▇\c
▇\c
▇\c
▇\c
I suspect this has something to do with my terminal settings, but I'm not sure quite what...
Nifty idea, regardless.
- Chirono 15y agoTry changing line 120 to echo -e $"$(print_tick $number)\c" And it should work fine.
- rnadna 15y agoI found it necessary to escape the backslash echo -e $"$(print_tick $number)\\c"
- enduser 15y agoadd a '-e' after 'echo' on line 120
- woof 15y agohttps://github.com/Omnipresent/spark/commit/43e4de4bfc69093a26a22625407bf5cb41c94be6 https://github.com/Omnipresent/spark/commit/43e4de4bfc69093a...
- nitrogen 15y agoThe "\c" escape sequence makes the -n unnecessary (as I discovered while reading "help echo").
- nitrogen 15y agohttps://github.com/holman/spark/pull/4 https://github.com/holman/spark/pull/4 (in addition to line 120, there are some "\n"s in the help)