mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Fix a regression in 0.10 that caused incorrect rendering of the status bar in irssi when used inside screen.
Fixes #621. The cursor in margin check was incorrect causing upwards movement of the cursor when below the bottom margin to be incorrect.
This commit is contained in:
@@ -464,7 +464,7 @@ write_escape_code_to_child(Screen *self, unsigned char which, const char *data)
|
||||
|
||||
static inline bool
|
||||
cursor_within_margins(Screen *self) {
|
||||
return self->margin_top <= self->cursor->y && self->cursor->y >= self->margin_bottom;
|
||||
return self->margin_top <= self->cursor->y && self->cursor->y <= self->margin_bottom;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user