Usually, every pressing of the keyboard (e.g. the key "a") moves the focus to the command-line.
Example:
- move the cross-hair somewhere (drawing area, palette, ribbons, ..) - press "a" - "a" is written to commandline
- move the cross-hair to view-cube - press "a" - nothing happens: Bug or feature?