mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-03 16:34:31 -07:00
fix(ui): make tool confirmations take up entire terminal height (#22366)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`Full Terminal Tool Confirmation Snapshot > renders tool confirmation box in the frame of the entire terminal 1`] = `
|
||||
"╭─────────────────────────────────────────────────────────────────────────────────────────────────╮
|
||||
│ Action Required │
|
||||
│ │
|
||||
│ ? Edit packages/.../InputPrompt.tsx: return kittyProtocolSupporte... => return kittyProto… │
|
||||
│─────────────────────────────────────────────────────────────────────────────────────────────────│
|
||||
│ 46 const line46 = true; │
|
||||
│ 47 const line47 = true; │
|
||||
│ 48 const line48 = true; │
|
||||
│ 49 const line49 = true; │
|
||||
│ 50 const line50 = true; │
|
||||
│ 51 const line51 = true; │
|
||||
│ 52 const line52 = true; │
|
||||
│ 53 const line53 = true; │
|
||||
│ 54 const line54 = true; │
|
||||
│ 55 const line55 = true; │
|
||||
│ 56 const line56 = true; │
|
||||
│ 57 const line57 = true; │
|
||||
│ 58 const line58 = true; │
|
||||
│ 59 const line59 = true; │
|
||||
│ 60 const line60 = true; │
|
||||
│ 61 - return kittyProtocolSupporte...; │
|
||||
│ 61 + return kittyProtocolSupporte...; │
|
||||
│ 62 buffer: TextBuffer; │
|
||||
│ 63 onSubmit: (value: string) => void; │
|
||||
│ Apply this change? │
|
||||
│ │█
|
||||
│ ● 1. Allow once │█
|
||||
│ 2. Allow for this session │█
|
||||
│ 3. Allow for this file in all future sessions │█
|
||||
│ 4. Modify with external editor │█
|
||||
│ 5. No, suggest changes (esc) │█
|
||||
│ │█
|
||||
╰─────────────────────────────────────────────────────────────────────────────────────────────────╯█
|
||||
|
||||
Initializing...
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
Shift+Tab to accept edits undefined undefined file
|
||||
workspace (/directory) sandbox /model context
|
||||
/directory no sandbox gemini-pro 17% used
|
||||
"
|
||||
`;
|
||||
Reference in New Issue
Block a user