summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-24 22:49:56 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-24 22:49:56 +0000
commit7e796dea035ed7028fc7188e65979725a24ff03d (patch)
tree2320aac0cebb0b6bf561a7d3a004622669ab174d /tmux.h
parent096cbf2ea558c0f66ee7bdaa8316e85c3e55ee69 (diff)
Change find-window and monitor-content to use fnmatch(3). For convenience and
compatibility, *s are implicitly added at the start and end of the pattern. Also display the line number and the entire line in the results, and lose the nasty section_string function and the now empty util.c file. Initially from Tiago Cunha.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 0bab2804..ba8fdd1d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1456,7 +1456,8 @@ void window_pane_parse(struct window_pane *);
void window_pane_key(struct window_pane *, struct client *, int);
void window_pane_mouse(struct window_pane *,
struct client *, u_char, u_char, u_char);
-char *window_pane_search(struct window_pane *, const char *);
+char *window_pane_search(
+ struct window_pane *, const char *, u_int *);
/* layout.c */
const char * layout_name(struct window *);
@@ -1526,10 +1527,6 @@ int session_last(struct session *);
void utf8_build(void);
int utf8_width(const u_char *);
-/* util.c */
-char *section_string(char *, size_t, size_t, size_t);
-void clean_string(const char *, char *, size_t);
-
/* procname.c */
char *get_proc_name(int, char *);