diff --git a/tcap.c b/tcap.c index 33a2f22..fa71fa6 100644 --- a/tcap.c +++ b/tcap.c @@ -229,12 +229,19 @@ static void tcapkopen(void) #if PKCODE putpad(TI); ttflush(); + ttrow = 999; + ttcol = 999; + sgarbf = TRUE; #endif strcpy(sres, "NORMAL"); } static void tcapkclose(void) { +#if PKCODE + putpad(TE); + ttflush(); +#endif } static void tcapmove(int row, int col)