Get copy to primary selection working

This commit is contained in:
Kovid Goyal
2023-03-28 17:15:28 +05:30
parent 676f576ace
commit 67a9def013
3 changed files with 69 additions and 0 deletions

View File

@@ -152,3 +152,11 @@ func (ms *MouseSelection) LineFormatSuffix(line_pos LinePos, sgr string, y int)
}
return ""
}
func (ms *MouseSelection) StartLine() LinePos {
return ms.start.line
}
func (ms *MouseSelection) EndLine() LinePos {
return ms.end.line
}