about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-15 22:55:54 +0000
committerJames Booth <boothj5@gmail.com>2015-01-15 22:55:54 +0000
commit22e9be4a5f0bca731b6e12b6f07a1407c1b77111 (patch)
tree6f8780dda0395db6b143ee702685a363caa64cca
parentad896ef201a92acb02b208013bc4ed996204a2df (diff)
downloadprofani-tty-22e9be4a5f0bca731b6e12b6f07a1407c1b77111.tar.gz
Renamed input->line
-rw-r--r--src/ui/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 45dd2a08..70a6f95f 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -74,7 +74,7 @@
 
 static char *win_title;
 
-static char input[INP_WIN_MAX];
+static char line[INP_WIN_MAX];
 static int inp_size;
 
 #ifdef HAVE_LIBXSS
@@ -182,7 +182,7 @@ char*
 ui_readline(void)
 {
     int result = 0;
-    wint_t ch = inp_get_char(input, &result);
+    wint_t ch = inp_get_char(line, &result);
 
     _win_handle_switch(ch);
 
@@ -201,7 +201,7 @@ ui_readline(void)
     }
 
     if (ch == '\n') {
-        return input;
+        return line;
     } else {
         return NULL;
     }