VT now consumes all of it's data when looping using it's `has_unread_data` attribute
VT now consumes all of its data when looping using its `has_unread_data` attribute
VT now consumes all of its data when looping using its `has_unread_data` attribute
VT now consumes all of its data when looping using its `has_unread_data` attribute
The terminal is closed in the `finally` section.
It's `proc` not `term`
Merge pull request #16741 from s0undt3ch/hotfix/use-vt-has-unread-data

VT now consumes it's output when iterating using its `has_unread_data` attribute