aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-01 09:46:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-01 09:46:24 +0000
commit69c3e744983e37662fa7b4f61482fb1d142e257c (patch)
treec32f324f64bd0a581a14853b6bf638fe9d2125c0 /commands.c
parentterm: don't enable ptmx FDM callback until Wayland window has been configured (diff)
util.h: new header file defining commonly used macros
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands.c b/commands.c
index 53d0dfb3..ffe03f3b 100644
--- a/commands.c
+++ b/commands.c
@@ -6,9 +6,7 @@
#include "terminal.h"
#include "render.h"
#include "grid.h"
-
-#define max(x, y) ((x) > (y) ? (x) : (y))
-#define min(x, y) ((x) < (y) ? (x) : (y))
+#include "util.h"
void
cmd_scrollback_up(struct terminal *term, int rows)