mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
note that selectionSlices is tested
This commit is contained in:
@ -481,7 +481,8 @@ fn selectionSlices(self: Screen, sel: Selection) struct {
|
||||
top: []Cell,
|
||||
bot: []Cell,
|
||||
} {
|
||||
// TODO: test
|
||||
// Note: this function is tested via selectionString
|
||||
|
||||
assert(sel.start.y < self.totalRows());
|
||||
assert(sel.end.y < self.totalRows());
|
||||
assert(sel.start.x < self.cols);
|
||||
|
Reference in New Issue
Block a user