PowerShell / ProjectMercury

An interactive shell to work with AI-powered assistance providers
MIT License
32 stars 5 forks source link

Enable `Start-Aish` on macOS when running in iTerm2 terminal #170

Closed daxian-dbw closed 1 month ago

daxian-dbw commented 1 month ago

PR Summary

Fix #147

Enable Start-Aish on macOS when running in iTerm2 terminal. iTerm2 supports Python API to programmatically update the iTerm2 layout, and we use Python script to open up the sidecar pane and run AISH in it. The Python script opens up the sidecar pane with 0.4 ratio, same as what we do on Windows.