Skip to content

Commit 6c641f1

Browse files
author
Matt Lee
committed
Preserve whitespace at start of line
1 parent d15c430 commit 6c641f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ function formatLine(option, optionIndex) {
233233
const isHightlighted = i === selected;
234234
const isMultiSelected = !!multiSelectedOptions[i];
235235

236-
let line = option.trim();
236+
let line = option.trimRight();
237237

238238
let fn = id;
239239
if (isHightlighted && isMultiSelected) {

0 commit comments

Comments
 (0)