mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-29 06:25:16 -07:00
style(cli): update FRAME_PADDING_AND_BORDER to match current layout
This commit is contained in:
@@ -117,7 +117,7 @@ export interface InputPromptProps {
|
|||||||
|
|
||||||
// The input content, input container, and input suggestions list may have different widths
|
// The input content, input container, and input suggestions list may have different widths
|
||||||
export const calculatePromptWidths = (mainContentWidth: number) => {
|
export const calculatePromptWidths = (mainContentWidth: number) => {
|
||||||
const FRAME_PADDING_AND_BORDER = 6; // Border (2) + padding (4)
|
const FRAME_PADDING_AND_BORDER = 4; // Border (2) + padding (2)
|
||||||
const PROMPT_PREFIX_WIDTH = 2; // '> ' or '! '
|
const PROMPT_PREFIX_WIDTH = 2; // '> ' or '! '
|
||||||
|
|
||||||
const FRAME_OVERHEAD = FRAME_PADDING_AND_BORDER + PROMPT_PREFIX_WIDTH;
|
const FRAME_OVERHEAD = FRAME_PADDING_AND_BORDER + PROMPT_PREFIX_WIDTH;
|
||||||
|
|||||||
Reference in New Issue
Block a user