use enter key to list buffer