I've programmed a rotating scrolling display:
I was thinking of using some non-breaking spaces but " " obviously counts as 5 caracters for Harlowe, not one. So they are rotated to. And that's ugly.
What to do? I have no clue. Do you?
(set: $message to "Caution!.......")(set: $mh to (font: "Courier New")+(hook: "message"))\ $mh[Message](live: .1s)[(set: $message to $message's (range: 2, length of $message) + $message's 1st)\ (replace: ?message)[(print: " "+$message+")")]]It works fine when the $message contains no spaces. When it does, Harlowe (or HTML) does it's usual stuff: collapsing them, which leads to some quite unpleasant effects.
I was thinking of using some non-breaking spaces but " " obviously counts as 5 caracters for Harlowe, not one. So they are rotated to. And that's ugly.
What to do? I have no clue. Do you?