MCPcopy Create free account
hub / github.com/Effect-TS/effect / processTextCursorEnd

Function processTextCursorEnd

packages/effect/src/cli/Prompt.ts:3901–3906  ·  view source on GitHub ↗
(state: TextState)

Source from the content-addressed store, hash-verified

3899 )
3900
3901const processTextCursorEnd = (state: TextState) =>
3902 Effect.succeed(
3903 Action.NextFrame({
3904 state: { ...state, cursor: state.value.length, error: Option.none() }
3905 })
3906 )
3907
3908const processTab = (state: TextState, options: TextOptionsReq) => {
3909 if (state.value === options.default) {

Callers 1

handleTextProcessFunction · 0.85

Calls 1

succeedMethod · 0.45

Tested by

no test coverage detected