about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-15 23:46:54 +0000
committerJames Booth <boothj5@gmail.com>2015-01-15 23:46:54 +0000
commitf0ffc31cd6dc93ec93d2b60dbbd92580001b9034 (patch)
tree85ca4cc9047609954aee210c84d32fe35dfd0921 /src/ui
parent51105720ab32faa4548655266ca0ae4c661f0701 (diff)
downloadprofani-tty-f0ffc31cd6dc93ec93d2b60dbbd92580001b9034.tar.gz
Renamed inp_get_char->inp_read
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c2
-rw-r--r--src/ui/inputwin.c2
-rw-r--r--src/ui/inputwin.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 69701616..3e4d2c80 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -183,7 +183,7 @@ ui_readline(void)
     int key_type;
     wint_t ch;
 
-    char *line = inp_get_char(&key_type, &ch);
+    char *line = inp_read(&key_type, &ch);
     _win_handle_switch(ch);
 
     ProfWin *current = wins_get_current();
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index 43eaeba8..7899a113 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -136,7 +136,7 @@ inp_block(void)
 }
 
 char *
-inp_get_char(int *key_type, wint_t *ch)
+inp_read(int *key_type, wint_t *ch)
 {
     int display_size = 0;
 
diff --git a/src/ui/inputwin.h b/src/ui/inputwin.h
index 5d104cdb..f121c9d9 100644
--- a/src/ui/inputwin.h
+++ b/src/ui/inputwin.h
@@ -36,7 +36,7 @@
 #define UI_INPUTWIN_H
 
 void create_input_window(void);
-char* inp_get_char(int *key_type, wint_t *ch);
+char* inp_read(int *key_type, wint_t *ch);
 void inp_win_reset(void);
 void inp_win_resize(void);
 void inp_put_back(void);