diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-04-18 13:12:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-18 13:12:56 +0000 |
| commit | e3683b58fc291f363c52e698db003683824fd550 (patch) | |
| tree | a207ab52573bfed66b9801f142d2139573481afc | |
| parent | search: codespell: backards -> backwards (diff) | |
search: add comment to ‘advance_pos()’ macro
| -rw-r--r-- | search.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -609,6 +609,8 @@ search_match_to_end_of_word(struct terminal *term, bool spaces_only) struct coord new_end = old_end; struct row *row = NULL; + /* Advances a coordinate by one column, to the right. Returns + * false if we’ve reached the scrollback wrap-around */ #define advance_pos(coord) __extension__ \ ({ \ bool wrapped_around = false; \ |
