...
This commit is contained in:
parent
7119c04c81
commit
c762f6199b
@ -323,7 +323,8 @@ screen_align(Screen *self) {
|
|||||||
|
|
||||||
// Graphics {{{
|
// Graphics {{{
|
||||||
|
|
||||||
void screen_alignment_display(Screen *self) {
|
void
|
||||||
|
screen_alignment_display(Screen *self) {
|
||||||
// http://www.vt100.net/docs/vt510-rm/DECALN.html
|
// http://www.vt100.net/docs/vt510-rm/DECALN.html
|
||||||
screen_cursor_position(self, 1, 1);
|
screen_cursor_position(self, 1, 1);
|
||||||
self->margin_top = 0; self->margin_bottom = self->lines - 1;
|
self->margin_top = 0; self->margin_bottom = self->lines - 1;
|
||||||
@ -333,7 +334,8 @@ void screen_alignment_display(Screen *self) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void select_graphic_rendition(Screen *self, unsigned int *params, unsigned int count) {
|
void
|
||||||
|
select_graphic_rendition(Screen *self, unsigned int *params, unsigned int count) {
|
||||||
#define SET_COLOR(which) \
|
#define SET_COLOR(which) \
|
||||||
if (i < count) { \
|
if (i < count) { \
|
||||||
attr = params[i++];\
|
attr = params[i++];\
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user