We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c44c12 commit c2a71f7Copy full SHA for c2a71f7
1 file changed
bin/utils/interactive-picker.ts
@@ -452,8 +452,8 @@ export function interactivePicker(
452
for (let i = 0; i < visibleCount; i++) {
453
const lineIdx = previewScrollOffset + i
454
const isCursorLine = lineIdx === previewCursor
455
- const lineNum = dim(`${String(lineIdx + 1).padStart(lineNumWidth)} `)
456
- const lineContent = lines[lineIdx].slice(0, cols - lineNumWidth - 3)
+ const lineNum = dim(` ${String(lineIdx + 1).padStart(lineNumWidth)} `)
+ const lineContent = lines[lineIdx].slice(0, cols - lineNumWidth - 5)
457
let line = `${lineNum}${lineContent}`
458
if (isCursorLine) {
459
const pad = Math.max(0, cols - stripAnsi(line).length)
0 commit comments