diff --git a/src/conio/cterm.c b/src/conio/cterm.c
index 4386f0b735053a9d1128d2d818ac1fe7f1cc82d0..515738fcfd33e78951b1be3e8aba65dc8c456c48 100644
--- a/src/conio/cterm.c
+++ b/src/conio/cterm.c
@@ -3505,7 +3505,7 @@ static void do_ansi(struct cterminal *cterm, char *retbuf, size_t retsize, int *
 									break;
 								case 2:
 									CURR_XY(&col, &row);
-									cterm_gotoxy(cterm, CURR_MINX, row);
+									GOTOXY(CURR_MINX, row);
 									CLREOL();
 									GOTOXY(col, row);
 									break;
diff --git a/src/conio/cterm.h b/src/conio/cterm.h
index 3b55d37610a7971f60d2aea87b6a78430e9c0c0c..f176a1f23d6ee2783d69c195107323293b01c525 100644
--- a/src/conio/cterm.h
+++ b/src/conio/cterm.h
@@ -122,7 +122,7 @@ struct cterminal {
 #define CTERM_EXTATTR_ORIGINMODE	0x0002
 #define CTERM_EXTATTR_SXSCROLL		0x0004
 #define CTERM_EXTATTR_DECLRMM		0x0008
-#define CTERM_EXTATTR_BRACKETPASTE      0x0016
+#define CTERM_EXTATTR_BRACKETPASTE      0x0010
 	int					save_xpos;		// Saved position (for later restore)
 	int					save_ypos;
 	int					sequence;		// An escape sequence is being parsed