Browse Source

no special toaru cursor handling

K. Lange 4 years ago
parent
commit
132b77ba53
1 changed files with 0 additions and 10 deletions
  1. 0 10
      apps/bim.c

+ 0 - 10
apps/bim.c

@@ -54,8 +54,6 @@ typedef struct {
 
 char * term = NULL;
 
-#define IS_TOARU() (term && !strcmp(term,"toaru"))
-
 int term_width, term_height;
 int csr_x_actual, csr_y_actual;
 
@@ -574,15 +572,7 @@ void render_error(char * message) {
 	fflush(stdout);
 }
 
-void render_cursor() {
-	printf("\033[1z");
-	fflush(stdout);
-}
-
 void show_cursor() {
-	if (IS_TOARU()) {
-		render_cursor();
-	}
 	fprintf(stdout, "\033[?25h");
 	fflush(stdout);
 }