aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/purkle/purkle.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-13 19:59:59 +1000
committerDavid Walter Seikel2016-03-13 19:59:59 +1000
commitbb128645efa19772a5c1a039df9c46213feb4426 (patch)
tree87bb9931b4effd3dc1db4ee607d69367cc19a9c6 /src/purkle/purkle.c
parentIntroducing Rough Hir, the new default avatar. At least, when we get avatars. (diff)
downloadSledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.zip
SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.gz
SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.bz2
SledjHamr-bb128645efa19772a5c1a039df9c46213feb4426.tar.xz
Update to new eo_* syntax.
Diffstat (limited to '')
-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}