- Posts: 4852
- Joined: Sat Mar 14, 2009 3:13 pm
Just a small thing that tripped me up: lusternia has a config prompt option where it'll add a newline after the prompt, line so:
Instead of the usual:
Which means that isPrompt() is not
true on the promptline, but it is true on the blank line after that (because it's the last line in the transmission). So if you expect the actual prompt line to be the current line being processed when isPrompt() is true - you'll be wrong in that expectation.