Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for focus on document as well as on textarea
When clicking outside of the browser document area, the cursor does not appear to get 'blurred'. This can be confusing as it implies that the cursor is still active. This is caused by Terminal's isFocused getter only checking if the textarea is the active element of the document. Expand isFocused to also check that the document itself has focus.
- Loading branch information