mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-14 08:53:52 +01:00
refactor: rename Match -> Span
This commit is contained in:
parent
4fc7a75046
commit
9fbfff70f3
16 changed files with 316 additions and 330 deletions
|
|
@ -15,7 +15,7 @@ fn main() {
|
|||
let lines = buffer.split('\n').collect::<Vec<_>>();
|
||||
|
||||
// Execute copyrat over the buffer (will take control over stdout).
|
||||
// This returns the selected matche.
|
||||
// This returns the selected span of text.
|
||||
let selection: Option<Selection> = run(&lines, &opt);
|
||||
|
||||
// Early exit, signaling no selections were found.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue