@@ -28,7 +28,6 @@ interface ChatInputBarProps {
2828 inputFocused : boolean
2929 inputRef : React . MutableRefObject < MultilineInputHandle | null >
3030 inputPlaceholder : string
31- inputWidth : number
3231 lastEditDueToNav : boolean
3332
3433 // Agent mode
@@ -71,7 +70,6 @@ export const ChatInputBar = ({
7170 inputFocused,
7271 inputRef,
7372 inputPlaceholder,
74- inputWidth,
7573 lastEditDueToNav,
7674 agentMode,
7775 toggleAgentMode,
@@ -237,8 +235,6 @@ export const ChatInputBar = ({
237235 submitAnswers ( answers )
238236 }
239237
240- // Adjust input width based on mode configuration
241- const adjustedInputWidth = inputWidth - modeConfig . widthAdjustment
242238 const effectivePlaceholder =
243239 inputMode === 'default' ? inputPlaceholder : modeConfig . placeholder
244240 const borderColor = theme [ modeConfig . color ]
@@ -275,7 +271,6 @@ export const ChatInputBar = ({
275271 )
276272 }
277273 } }
278- width = { inputWidth }
279274 />
280275 </ box >
281276 )
@@ -333,7 +328,6 @@ export const ChatInputBar = ({
333328 placeholder = { effectivePlaceholder }
334329 focused = { inputFocused && ! feedbackMode }
335330 maxHeight = { compactMaxHeight }
336- width = { adjustedInputWidth }
337331 ref = { inputRef }
338332 cursorPosition = { cursorPosition }
339333 />
@@ -416,7 +410,6 @@ export const ChatInputBar = ({
416410 placeholder = { effectivePlaceholder }
417411 focused = { inputFocused && ! feedbackMode }
418412 maxHeight = { Math . floor ( terminalHeight / 2 ) }
419- width = { adjustedInputWidth }
420413 ref = { inputRef }
421414 cursorPosition = { cursorPosition }
422415 />
0 commit comments