## What are the changes about?
Implements getActiveTerminal for FreeBSD via fstat
## What existing issue(s) does this resolve?
#1046
## Pre-requisites
- [ x ] I have tested & confirmed the changes work locally
- [ x ] I have read and fully adhere to the rules set in the contributing guidelines found in `CONTRIBUTING.md`
Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/1047
Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org>