@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 15 lines 349 Bytes
Raw
1 export type ComposerSelectionRange = {
2 start: number;
3 end: number;
4 };
5
6 export function didComposerSelectionChangeVisibly(
7 previous: ComposerSelectionRange,
8 next: ComposerSelectionRange | null,
9 ): boolean {
10 return (
11 next !== null &&
12 next.start !== next.end &&
13 (next.start !== previous.start || next.end !== previous.end)
14 );
15 }