(state: TextState)
| 3861 | } |
| 3862 | |
| 3863 | const processTextClear = (state: TextState) => |
| 3864 | Effect.succeed( |
| 3865 | Action.NextFrame({ |
| 3866 | state: { ...state, cursor: 0, value: "", error: Option.none() } |
| 3867 | }) |
| 3868 | ) |
| 3869 | |
| 3870 | const processTextCursorLeft = (state: TextState) => { |
| 3871 | if (state.cursor <= 0) { |
no test coverage detected