diff options
author | rcyeske <rcyeske> | 2001-02-17 20:01:31 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-02-17 20:01:31 +0000 |
commit | 77159526d8a218f23e496ef5989a40dcdc24e99c (patch) | |
tree | daa420f882ce4e2d259e9d7d597584525c01e85c /src/input.c | |
parent | f1e28f43165b69b18ee06fc29aea44ced65b0382 (diff) | |
download | ratpoison-77159526d8a218f23e496ef5989a40dcdc24e99c.zip |
renamed display_msg_in_bar() to message(); it and get_input() no longer take a screen_info param
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c index e9ff714..835d233 100644 --- a/src/input.c +++ b/src/input.c @@ -128,8 +128,9 @@ read_key (KeySym *keysym, unsigned int *modifiers) } char * -get_input (screen_info *s, char *prompt) +get_input (char *prompt) { + screen_info *s = current_screen (); int cur_len; /* Current length of the string. */ int allocated_len=100; /* The ammount of memory we allocated for str */ KeySym ch; @@ -140,6 +141,7 @@ get_input (screen_info *s, char *prompt) int width = 200 + prompt_width; char *str; + /* We don't want to draw overtop of the program bar. */ hide_bar (s); |