Fix focus on tab selection

When you select the terminal tab, the terminal should be ready to type
shouldn't be "``onFocus`" ?