@property compliance.

Make terminal.d compilable with -property.

Wasn't sure whether InputEvent.get should be a @property, but since its only arguments are compile-time arguments, I decided to make it a @property so that you don't have to keep writing () at the end.