Say hello to a new level of interactivity in Gemini CLI

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Gemini CLI v0.9.0 introduces pseudo-terminal (PTY) support, enabling interactive commands like vim, top, and git rebase -i to run directly within the CLI context. The update uses node-pty to spawn processes in a virtual terminal, streaming real-time snapshots of terminal state including text, colors, and cursor position. This architecture supports two-way communication with keyboard input and window resizing, eliminating the need to switch to separate terminals while maintaining full context awareness.

3m read timeFrom developers.googleblog.com
Post cover image
Table of contents
Keeping everything in contextHow it works: Serializing the terminal stateFull two-way interactionGetting started with the interactive shell
9 Comments

Sort: