Lusternia's newline after prompt feature
Posted: Tue Sep 14, 2010 7:56 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:promptline
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.promptline