diff options
| author | geppettodivacin <ericdilmore@gmail.com> | 2020-01-25 20:02:22 -0600 |
|---|---|---|
| committer | geppettodivacin <ericdilmore@gmail.com> | 2020-01-26 16:03:03 -0600 |
| commit | 5596b4b2b9dbc56d106f1cd3d3b09ccdcd28ad88 (patch) | |
| tree | 38eefbd6bca9d7117386c37f9c1299f584ad15f9 /src/shared_string.cc | |
| parent | 2749093143fe5cdbda306569bdb88ff8162486e9 (diff) | |
Add support for `@` symbols in selection buffer
The selection descriptions use the format
`<buffer>@<timestamp>@<main_index>`. This fails when file paths have `@`
symbols in them: the parser splits on `@` symbols and finds more values
than it expects.
We here modify the behavior to require *at least* two @ symbols, using
the last two for `<timestamp>` and `<main_index>` and leaving the
remaining text for the <buffer>. This should work for any number of `@`
symbols, since `<timestamp>` and `<main_index>` are numbers and should
never contain `@` symbols.
Diffstat (limited to 'src/shared_string.cc')
0 files changed, 0 insertions, 0 deletions
