MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / markReturnKeySeenForKey

Function markReturnKeySeenForKey

cli/src/utils/terminal-enter-detection.ts:48–52  ·  view source on GitHub ↗
(key: EnterDetectionKey)

Source from the content-addressed store, hash-verified

46}
47
48export function markReturnKeySeenForKey(key: EnterDetectionKey): void {
49 if (shouldMarkReturnKeySeen(key)) {
50 markReturnKeySeen()
51 }
52}
53
54/** True when a "linefeed" (\n) key event should be treated as Enter. */
55export function isLinefeedActingAsEnter(): boolean {

Callers 4

useChatKeyboardFunction · 0.90
isPlainEnterKeyFunction · 0.85

Calls 2

shouldMarkReturnKeySeenFunction · 0.85
markReturnKeySeenFunction · 0.85

Tested by

no test coverage detected