mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
Cleanup the as_text_generic macro
Also allow adding a \r at the end of each visual line
This commit is contained in:
@@ -414,7 +414,7 @@ get_line(LineBuf *self, index_type y) {
|
||||
|
||||
static PyObject*
|
||||
as_text(LineBuf *self, PyObject *args) {
|
||||
as_text_generic(args, self, get_line, self->ynum, self->xnum, callback, as_ansi);
|
||||
as_text_generic(args, self, get_line, self->ynum, self->xnum);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user