summaryrefslogtreecommitdiffstats
path: root/include/ansi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ansi.h')
-rw-r--r--include/ansi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ansi.h b/include/ansi.h
index 1b0d9073..cb7e86cd 100644
--- a/include/ansi.h
+++ b/include/ansi.h
@@ -16,7 +16,7 @@
// Common ANSI commands.
#define ANSI_RESET ESC_STR "[m"
#define ANSI_COLOR(x) ESC_STR "[" #x "m"
-#define ANSI_MOVETO(x,y) ESC_STR "[" #x ";" #y "H"
+#define ANSI_MOVETO(y,x) ESC_STR "[" #y ";" #x "H"
#define ANSI_CLRTOEND ESC_STR "[K"
#endif /* INCLUDE_ANSI_H */