diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 18:23:18 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-15 18:23:18 -0800 |
| commit | d31d2e89850d3132850e0f2e1ce6d973bd482073 (patch) | |
| tree | 654739b075372bbe55b4082b2c77d7e70813e7fb /types.h | |
| parent | 87ad1efc24521c0a17c1d8d627518f1eb9f4fa4f (diff) | |
Added interactive confirmation mode for replacing text
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -89,6 +89,11 @@ typedef struct match_s { struct match_s **atme; #endif int refcount; + // If skip_replacement is set to 1, that means the user wants to not print + // the replaced text when printing this match: + // TODO: this is a bit hacky, there is probably a better way to go about + // this but it's less hacky that mutating the match objects more drastically + unsigned int skip_replacement:1; } match_t; // |
