summaryrefslogtreecommitdiffstats
path: root/include/readkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/readkey.h')
-rw-r--r--include/readkey.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/readkey.h b/include/readkey.h
index 8398ec2..ed1cd15 100644
--- a/include/readkey.h
+++ b/include/readkey.h
@@ -26,8 +26,8 @@
#define ANSI_CLEAR_SCREEN "\e[2J\e[;H"
-#define printf_reverse(fmt,args...) printf("\e[7m" fmt "\e[m",##args)
-#define puts_reverse(fmt) puts("\e[7m" fmt "\e[m")
+#define printf_reverse(fmt,args...) printf("\e[7m" fmt "\e[0m",##args)
+#define puts_reverse(fmt) puts("\e[7m" fmt "\e[0m")
#define gotoXY(row, col) printf("\e[%d;%dH", col, row)
#define clear() puts("\e[2J")