more fiddling with magiedit
This commit is contained in:
parent
1036e8d0eb
commit
ba2597d341
@ -573,11 +573,6 @@ char *message_editor() {
|
|||||||
od_set_cursor(i - top_of_screen + 3, 1);
|
od_set_cursor(i - top_of_screen + 3, 1);
|
||||||
od_printf("%s", line);
|
od_printf("%s", line);
|
||||||
od_clr_line();
|
od_clr_line();
|
||||||
for (i=position_y;i<body_line_count && i - top_of_screen < 20;i++) {
|
|
||||||
od_set_cursor(i - top_of_screen + 4, 1);
|
|
||||||
od_printf("%s", body_lines[i]);
|
|
||||||
od_clr_line();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
old_top_of_screen = top_of_screen;
|
old_top_of_screen = top_of_screen;
|
||||||
|
|
||||||
@ -591,7 +586,12 @@ char *message_editor() {
|
|||||||
od_printf("%s", line);
|
od_printf("%s", line);
|
||||||
od_clr_line();
|
od_clr_line();
|
||||||
od_set_cursor(position_y - top_of_screen + 3, 1);
|
od_set_cursor(position_y - top_of_screen + 3, 1);
|
||||||
}
|
}
|
||||||
|
for (i=position_y;i<body_line_count && i - top_of_screen < 20;i++) {
|
||||||
|
od_set_cursor(i - top_of_screen + 4, 1);
|
||||||
|
od_printf("%s", body_lines[i]);
|
||||||
|
od_clr_line();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (ch.chKeyPress == '\b') {
|
if (ch.chKeyPress == '\b') {
|
||||||
|
Reference in New Issue
Block a user