Skip to content

Commit c2a71f7

Browse files
nrjdalalclaude
andcommitted
fix: add 2-space indent to preview lines
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6c44c12 commit c2a71f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/utils/interactive-picker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,8 @@ export function interactivePicker(
452452
for (let i = 0; i < visibleCount; i++) {
453453
const lineIdx = previewScrollOffset + i
454454
const isCursorLine = lineIdx === previewCursor
455-
const lineNum = dim(`${String(lineIdx + 1).padStart(lineNumWidth)} `)
456-
const lineContent = lines[lineIdx].slice(0, cols - lineNumWidth - 3)
455+
const lineNum = dim(` ${String(lineIdx + 1).padStart(lineNumWidth)} `)
456+
const lineContent = lines[lineIdx].slice(0, cols - lineNumWidth - 5)
457457
let line = `${lineNum}${lineContent}`
458458
if (isCursorLine) {
459459
const pad = Math.max(0, cols - stripAnsi(line).length)

0 commit comments

Comments
 (0)