revert: "refactor: use S_LEN macro" (#29319)

revert: "refactor: use S_LEN(s) instead of s, n (#29219)"

This reverts commit c37695a5d5.
This commit is contained in:
Lewis Russell
2024-06-13 22:20:06 +01:00
committed by GitHub
parent 6589d05894
commit 43d8435cf8
42 changed files with 258 additions and 263 deletions

View File

@@ -844,9 +844,9 @@ void terminal_paste(int count, char **y_array, size_t y_size)
if (j) {
// terminate the previous line
#ifdef MSWIN
terminal_send(curbuf->terminal, S_LEN("\r\n"));
terminal_send(curbuf->terminal, "\r\n", 2);
#else
terminal_send(curbuf->terminal, S_LEN("\n"));
terminal_send(curbuf->terminal, "\n", 1);
#endif
}
size_t len = strlen(y_array[j]);