diff options
author | Oskar <> | 2024-03-03 18:56:53 +0100 |
---|---|---|
committer | Oskar <> | 2024-03-03 18:56:53 +0100 |
commit | 2c60742fd8d4ce88d40a89e876e922f7bee01362 (patch) | |
tree | c9b0a31c30b8b78c72ea196590ba259bf1f2e7ed | |
parent | 6cc1b17b3b336e1212febc13ef6c4a75cb69bb2a (diff) |
New requirements for N
-rw-r--r-- | input.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -196,6 +196,18 @@ int smode_input(char *single, char **multiple, uint64_t focus) { // This functio break; case 'n': case 'N': + // N will work similarly to L + /* + Just N will create a new line after the focus line + N+ Will do nothing + N+10 Will create 10 lines after the focus line + N-10 Will create 10 lines before the focus line (This one's a bit ambitious becasue it might need some extra work) + N10 Will create a line after line 10 + N0 Will create a line "before" 1 + + If focus is 1 and we say N-10 Then it will create 10 lines "before" 1 + */ + return _MULTIPLE; break; case 'x': |