aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-03-21 13:16:15 +0000
committernicm <nicm>2020-03-21 13:16:15 +0000
commit8828b958f04747cbf6126ec3443007b29570413a (patch)
tree898ba815452b7b40b15fc798dd41b46dab655091 /tmux.h
parent5aeab5ab4075c7740c223678df1548dc4a402d83 (diff)
downloadrtmux-8828b958f04747cbf6126ec3443007b29570413a.tar.gz
rtmux-8828b958f04747cbf6126ec3443007b29570413a.tar.bz2
rtmux-8828b958f04747cbf6126ec3443007b29570413a.zip
Break code to convert an argument as a percentage into a common function.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index f202315b..424a0ddf 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2060,6 +2060,8 @@ const char *args_first_value(struct args *, u_char, struct args_value **);
const char *args_next_value(struct args_value **);
long long args_strtonum(struct args *, u_char, long long, long long,
char **);
+long long args_percentage(struct args *, u_char, long long,
+ long long, long long, char **);
/* cmd-find.c */
int cmd_find_target(struct cmd_find_state *, struct cmdq_item *,