diff options
author | Oskar <[email protected]> | 2024-03-28 17:42:02 +0100 |
---|---|---|
committer | Oskar <[email protected]> | 2024-03-28 17:42:02 +0100 |
commit | b7fc22f2908bc843d7dca4620531b93353df71d5 (patch) | |
tree | d3ad44568094266bf5cdff9279ff8251ddc79332 | |
parent | a1706540d9f6b80835d9a586d091251eaf9b914f (diff) |
changed requirements
-rw-r--r-- | i_validation.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/i_validation.c b/i_validation.c index 4c313cf..e443697 100644 --- a/i_validation.c +++ b/i_validation.c @@ -242,14 +242,9 @@ int validate_N(char *smode_buf) { N+1 will do the same (DONE) In short: N = N+ = N+1 (They will all create 1 line after the focus line) - N+2 Will create 2 lines after focus line. (DONE) - N+10 Will create 10 lines after the focus line (DONE) - N10 Will create a line after line 10 (NOT DONE) - - N- will work a bit differently. Since N+, N+1, N work the same N wont be available for making lines in the opposite direction. - I am not even sure if i want '-' to be a valid input. Or how ill even do it. For now i will make all '-'/negatives ivalid. - - If focus is 1 and we say N-10 Then it will create 10 lines "before" 1 (out of scope for validate_N) + N+2 Will create 2 lines after focus line. + N+10 Will create 10 lines after the focus line + N10 Will create a line after line 10 */ char nums_with_zero[] = "0123456789"; |