Added mapping between '\n' and Enter control sequence.