keep context on line enter