
If you've ever typed non-Latin characters on your computer (particularly CJK characters), you've used an input method before. And ultimately led us to look into input methods on macOS. The limitations in the adoption of the accessibility API forced us to be creative. However, certain applications - particularly those not built using native macOS user interface frameworks - did not expose this information to screen readers. This approach worked for native terminal emulators, like iTerm and Apple Terminal, and xterm.js based emulators like, VSCode & Hyper. On macOS, Fig has always used the accessibility API to determine the position of the caret in supported terminals.

In order, to figure out where to position the autocomplete window, we've had to explore many unusual APIs. Modern operating systems do their best to isolate applications from one another. Note that you will be asked to restart your computer for the changes to take effect How it worksĭetermining the location of the cursor in a 3rd party application is a surprisingly tricky problem. Download Fig from fig.io or brew install fig.If we're missing a terminal or IDE that you'd like to use Fig with, please create a new issue on GitHub.

I'm excited to announce that starting in version 1.0.57, Fig now supports over a dozen new terminals and IDEs: To download Fig on macOS run brew install -cask fig or direct download at fig.io Announcements ← Back to posts Fig now supports JetBrains IDEs Matt Schrage
