(state: TextState)
| 3597 | } |
| 3598 | |
| 3599 | const processTextClear = (state: TextState) => |
| 3600 | Effect.succeed( |
| 3601 | Action.NextFrame({ |
| 3602 | state: { ...state, cursor: 0, value: "", error: Option.none() } |
| 3603 | }) |
| 3604 | ) |
| 3605 | |
| 3606 | const processTextCursorLeft = (state: TextState) => { |
| 3607 | if (state.cursor <= 0) { |
no test coverage detected