Early versions of Fig essentially used a keylogger to predict what you had typed in the terminal. This is not optimal from a security or product standpoint.
We have since integrated with the shells themselves (e.g. with zsh's line editor, ZLE for zsh). This allows us to get what you've typed more accurately and for your shell only. We are also working on new integration done exclusively through pseudoterminals.
Both of the cases above mean our Linux integration will simply be for window management!
You can see how all of our integrations with bash, zsh, fish, SSH, Docker etc work here: https://github.com/withfig/config