summaryrefslogtreecommitdiff
path: root/ihe.c
diff options
context:
space:
mode:
Diffstat (limited to 'ihe.c')
-rw-r--r--ihe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ihe.c b/ihe.c
index ec6af1c..a257c3a 100644
--- a/ihe.c
+++ b/ihe.c
@@ -617,6 +617,7 @@ int main( int argc, char **argv )
{
char local_cmd[] = "pagedown";
+ write(1,"\n",1);
cmd_buf_clean(&cmd_in);
cmd_buf_add(&cmd_in, local_cmd, strlen(local_cmd));
err = cmd_mng_exec( &cmd_mng, cmd_in.buf, cmd_in.cur_sz );
@@ -633,8 +634,9 @@ int main( int argc, char **argv )
//pageup
if (CMK_KEYMAP4(0x7e,0x35,0x5b,0x1b))
{
- char local_cmd[] = "pageup";
+ char local_cmd[] = "pageup\n";
+ write(1,"\n",1);
cmd_buf_clean(&cmd_in);
cmd_buf_add(&cmd_in, local_cmd, strlen(local_cmd));
err = cmd_mng_exec( &cmd_mng, cmd_in.buf, cmd_in.cur_sz );