aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/purkle
diff options
context:
space:
mode:
Diffstat (limited to 'src/purkle')
-rw-r--r--src/purkle/purkle.c12
1 files changed, 5 insertions, 7 deletions
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)
28 pull_lua(L, 1, "$", &text); 28 pull_lua(L, 1, "$", &text);
29 if (text) 29 if (text)
30 { 30 {
31 eo_do(history->obj, 31 elm_obj_entry_append(history->obj, "<br/>");
32 elm_obj_entry_append("<br/>"), 32 // TODO - Add a time stamp, and log to a file.
33 // TODO - Add a time stamp, and log to a file. 33 elm_obj_entry_append(history->obj, text);
34 elm_obj_entry_append(text), 34 // TODO - really need a "scroll to the bottom" here, this cursor down wont work if lines get wrapped onto multiple lines.
35 // TODO - really need a "scroll to the bottom" here, this cursor down wont work if lines get wrapped onto multiple lines. 35 elm_obj_entry_cursor_down(history->obj);
36 elm_obj_entry_cursor_down()
37 );
38 } 36 }
39 return 0; 37 return 0;
40} 38}