This commit is contained in:
Kovid Goyal 2017-09-13 13:13:34 +05:30
parent 6d8b59cb61
commit 573dd8c99e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ using your favorite pager program such as less
working directories and programs to run on startup.
* Easily hackable (UI layer written in python, inner loops in C for
speed). Less than ten thousand lines of code.
speed). Less than fifteen thousand lines of code.
* Uses OpenGL for rendering, offloads rendering work to the GPU for lower system load.

View File

@ -34,7 +34,7 @@ static PyObject *
repr(Cursor *self) {
return PyUnicode_FromFormat(
"Cursor(x=%u, y=%u, shape=%s, blink=%R, fg=#%08x, bg=#%08x, bold=%R, italic=%R, reverse=%R, strikethrough=%R, decoration=%d, decoration_fg=#%08x)",
self->x, self->y, (self->shape < NUM_OF_CURSOR_SHAPES && self->shape >= 0 ? cursor_names[self->shape] : "INVALID"),
self->x, self->y, (self->shape < NUM_OF_CURSOR_SHAPES ? cursor_names[self->shape] : "INVALID"),
BOOL(self->blink), self->fg, self->bg, BOOL(self->bold), BOOL(self->italic), BOOL(self->reverse), BOOL(self->strikethrough), self->decoration, self->decoration_fg
);
}