@@ -381,7 +381,7 @@ function truncateArgValue(key: string, value: string): string {
381381 // still tell which file is being touched.
382382 return '…' + value . slice ( value . length - ( MAX_ARG_LENGTH - 1 ) ) ;
383383 }
384- return value . slice ( 0 , MAX_ARG_LENGTH - 3 ) + '... ' ;
384+ return value . slice ( 0 , MAX_ARG_LENGTH - 1 ) + '… ' ;
385385}
386386
387387function makeWorkspaceRelativePath ( filePath : string , workspaceDir : string | undefined ) : string {
@@ -813,7 +813,7 @@ export class ToolCallComponent extends Container {
813813 if ( this . result !== undefined || text . length === 0 ) return ;
814814 this . liveOutput += text ;
815815 if ( this . liveOutput . length > MAX_LIVE_OUTPUT_CHARS ) {
816- this . liveOutput = `[... truncated]\n${ this . liveOutput . slice (
816+ this . liveOutput = `[… truncated]\n${ this . liveOutput . slice (
817817 this . liveOutput . length - MAX_LIVE_OUTPUT_CHARS ,
818818 ) } `;
819819 }
@@ -1422,7 +1422,7 @@ export class ToolCallComponent extends Container {
14221422 const existingOutput = options ?. replace === true ? '' : ( activity ?. output ?? '' ) ;
14231423 let output = existingOutput + text ;
14241424 if ( output . length > MAX_LIVE_OUTPUT_CHARS ) {
1425- output = `[... truncated]\n${ output . slice ( output . length - MAX_LIVE_OUTPUT_CHARS ) } ` ;
1425+ output = `[… truncated]\n${ output . slice ( output . length - MAX_LIVE_OUTPUT_CHARS ) } ` ;
14261426 }
14271427 this . upsertSubToolActivity ( id , name , args , activity ?. phase ?? 'ongoing' , output ) ;
14281428 this . rebuildContent ( ) ;
@@ -1673,7 +1673,7 @@ export class ToolCallComponent extends Container {
16731673 const suffix = this . hiddenSubCallCount > 1 ? 's' : '' ;
16741674 this . addChild (
16751675 new Text (
1676- currentTheme . italic ( currentTheme . dim ( ` ${ String ( this . hiddenSubCallCount ) } more tool call${ suffix } ... ` ) ) ,
1676+ currentTheme . italic ( currentTheme . dim ( ` ${ String ( this . hiddenSubCallCount ) } more tool call${ suffix } … ` ) ) ,
16771677 0 ,
16781678 0 ,
16791679 ) ,
@@ -2043,7 +2043,7 @@ export class ToolCallComponent extends Container {
20432043 this . addChild (
20442044 new Text (
20452045 currentTheme . dim (
2046- `... (${ String ( remaining ) } more lines, ${ String ( allLines . length ) } total, ctrl+o to expand)` ,
2046+ `… (${ String ( remaining ) } more lines, ${ String ( allLines . length ) } total, ctrl+o to expand)` ,
20472047 ) ,
20482048 2 ,
20492049 0 ,
@@ -2130,7 +2130,7 @@ export class ToolCallComponent extends Container {
21302130 const elapsedSeconds =
21312131 startedAtMs === undefined ? 0 : Math . max ( 0 , Math . floor ( ( Date . now ( ) - startedAtMs ) / 1000 ) ) ;
21322132 const target = filePath . length > 0 ? ` for ${ filePath } ` : '' ;
2133- const progress = `Preparing changes${ target } ... ${ formatByteSize ( bytes ) } · ${ formatElapsed (
2133+ const progress = `Preparing changes${ target } … ${ formatByteSize ( bytes ) } · ${ formatElapsed (
21342134 elapsedSeconds ,
21352135 ) } elapsed`;
21362136 this . addChild ( new Text ( currentTheme . dim ( progress ) , 2 , 0 ) ) ;
0 commit comments