From bb128645efa19772a5c1a039df9c46213feb4426 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 13 Mar 2016 19:59:59 +1000 Subject: Update to new eo_* syntax. --- src/purkle/purkle.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/purkle/purkle.c') diff --git a/src/purkle/purkle.c b/src/purkle/purkle.c index 378879f..5502ae5 100644 --- a/src/purkle/purkle.c +++ b/src/purkle/purkle.c @@ -28,13 +28,11 @@ static int append(lua_State *L) pull_lua(L, 1, "$", &text); if (text) { - eo_do(history->obj, - elm_obj_entry_append("
"), - // TODO - Add a time stamp, and log to a file. - elm_obj_entry_append(text), - // TODO - really need a "scroll to the bottom" here, this cursor down wont work if lines get wrapped onto multiple lines. - elm_obj_entry_cursor_down() - ); + elm_obj_entry_append(history->obj, "
"); + // TODO - Add a time stamp, and log to a file. + elm_obj_entry_append(history->obj, text); + // TODO - really need a "scroll to the bottom" here, this cursor down wont work if lines get wrapped onto multiple lines. + elm_obj_entry_cursor_down(history->obj); } return 0; } -- cgit v1.1