Files
fenrir/internal/review/line_from_cursor.go

10 lines
253 B
Go

// Copyright (c) 2026 Storm Dragon
// SPDX-License-Identifier: GPL-3.0-or-later
package review
func (r *Review) line_from_cursor() string {
r.result.After.Text = r.cursor_scope()
return r.screen_range(r.y*r.screen.Cols+r.x, (r.y+1)*r.screen.Cols)
}