Skip to content

Commit 4d9b251

Browse files
committed
Double long-text-threshold for what counts as a text attachment
1 parent 28e5cf9 commit 4d9b251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/utils/strings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const BULLET_CHAR = '• '
5757

5858
// Threshold for treating pasted text as an attachment instead of inline insertion
5959
// Text longer than this value (not equal) becomes an attachment
60-
export const LONG_TEXT_THRESHOLD = 1000
60+
export const LONG_TEXT_THRESHOLD = 2000
6161

6262
/**
6363
* Insert text at cursor position and return the new text and cursor position.

0 commit comments

Comments
 (0)