Restored marks when showing prompt (issue 9)