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

Function processTextCursorEnd

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

Source from the content-addressed store, hash-verified

3635 )
3636
3637const processTextCursorEnd = (state: TextState) =>
3638 Effect.succeed(
3639 Action.NextFrame({
3640 state: { ...state, cursor: state.value.length, error: Option.none() }
3641 })
3642 )
3643
3644const processTab = (state: TextState, options: TextOptionsReq) => {
3645 if (state.value === options.default) {

Callers 1

handleTextProcessFunction · 0.85

Calls 1

succeedMethod · 0.45

Tested by

no test coverage detected