smarter moveToBeginningOfLine