aboutsummaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-01 10:06:09 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-01 10:06:09 +0000
commit99172e7f8e0a7caa1356a9beebf7d22288e5f7a1 (patch)
tree92af8f394e1124952cf69652bdb340376765f730 /commands.c
parentterm: don't enable ptmx FDM callback until Wayland window has been configured (diff)
parentunicode-combining: completely remove unicode combining characters when feature is disabled (diff)
Merge branch 'unicode-combining-for-real'
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)