MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / isPasteBurst

Function isPasteBurst

src/cli/components/editor-logic.ts:65–68  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

63 * instead of dumping raw text (and newlines) into the line editor.
64 */
65export function isPasteBurst(input: string): boolean {
66 if (input.length <= 1) return false;
67 return input.includes('\n') || input.length >= 12;
68}
69
70export function countLines(s: string): number {
71 if (s === '') return 0;

Callers 2

ChatInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected