Enter key not working in terminal

Open

Preferences -> shortcuts

in terminal:

open preferences -> shortcuts in terminal

Then

  1. Single click on copy shortcuts
  2. Press Enter
  3. Press Ctrl+Shift+C on window simultaneously
  4. Close the preferences and your enter key will work.