An AHA Popped Up Because I Encountered a Problem
I've gotten into a habit of decorating my console output strings with c o l o r s , like highlighting some fragments in Yellow , Red or whatever and then switching back to White elsewhere. Each escape code sequence is relatively long (e.g. Ansi for Yellow = "\033[1;33m"). And, the pointer to the escape code has to be encased in curly brackets ({code}). Typing all that out becomes a pain. A "what if?" occurred to me. What if I insert a two character, shortened escape code (like a bitly url) in my text, for example, a delimiter that starts with a tilda (~) and is followed by selector character ? So the 2-character sequence, " ~ W" would be converted to the Ansi escape code for white text. Thinking some more on that brought more aha's: The tilda (~) on the keyboard needs a press of the SHIFT key. And the cap "W" also needs a press of the SHIFT key. Too much work! How about instead of tilda (~), I use the tilted quote mark (`) on the botto...