fix: check detached state in .visible. fixes #58.
Fixes scroll wheel support with modifiers for GNOME Terminal