diff options
author | pgen <p.gen.progs@gmail.com> | 2015-10-07 00:55:32 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2015-10-07 00:55:32 +0200 |
commit | 0bdf1f0d91c13cec64acf7d91dc5043dd8a3967e (patch) | |
tree | 13a075c10be2e3893a176b31d979d8630c89d28d /smenu.h | |
parent | 4526923544833de552ee0912edf95015f16195b7 (diff) |
Add the -M option to center the display
Diffstat (limited to 'smenu.h')
-rw-r--r-- | smenu.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |