From 6f6c37565619e8ba956e1b97b9b0244238df4ae5 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Thu, 30 Mar 2017 13:19:53 +1000 Subject: [PATCH] experimental change to message editor --- utils/magiedit/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/utils/magiedit/main.c b/utils/magiedit/main.c index 29a365d..74ef4ed 100644 --- a/utils/magiedit/main.c +++ b/utils/magiedit/main.c @@ -620,6 +620,12 @@ char *message_editor() { } + od_set_cursor(position_y - top_of_screen + 3, position_x) { + od_printf("%s", &line[position_x]); + od_clr_line(); + } + +/* if (position_x > 1) { if (position_y > 20) { od_set_cursor(23, position_x - 1); @@ -656,6 +662,7 @@ char *message_editor() { } else { od_set_cursor(position_y - top_of_screen + 3, position_x + 1); } + */ } } }