summaryrefslogtreecommitdiffstats
path: root/smenu.h
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2015-10-07 00:55:32 +0200
committerpgen <p.gen.progs@gmail.com>2015-10-07 00:55:32 +0200
commit0bdf1f0d91c13cec64acf7d91dc5043dd8a3967e (patch)
tree13a075c10be2e3893a176b31d979d8630c89d28d /smenu.h
parent4526923544833de552ee0912edf95015f16195b7 (diff)
Add the -M option to center the display
Diffstat (limited to 'smenu.h')
-rw-r--r--smenu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/smenu.h b/smenu.h
index e38d921..a452eba 100644
--- a/smenu.h
+++ b/smenu.h
@@ -79,7 +79,7 @@ int build_metadata(word_t * word_a, term_t * term, int count, win_t * win);
int disp_lines(word_t * word_a, win_t * win, toggle_t * toggle, int current,
int count, int search_mode, char *search_buf, term_t * term,
int last_line, char *tmp_max_word, langinfo_t * langinfo);
-int disp_message(char *message, term_t * term);
+int disp_message(char *message, term_t * term, win_t * win);
void disp_word(word_t * word_a, int pos, int search_mode, char *buffer,
term_t * term, char *tmp_max_word);
int egetopt(int nargc, char **nargv, char *ostr);
@@ -93,7 +93,7 @@ char *get_word(FILE * input, ll_t * word_delims_list,
void left_margin_putp(char *s, term_t * term);
int main(int argc, char *argv[]);
void right_margin_putp(char *s1, char *s2, langinfo_t * langinfo, term_t * term,
- win_t * win, int line);
+ win_t * win, int line, int offset);
int search_next(tst_node_t * tst, word_t * word_a, char *search_buf,
int after_only);
void set_new_first_column(win_t * win, word_t * word_a);