this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

more undo

alice 72ccc175 5ec4a1cf

+4 -8
+1 -5
src/studio/editors/code.c
··· 113 113 { 114 114 enum {Height = TIC_FONT_HEIGHT + 1, StatusY = TIC80_HEIGHT - TIC_FONT_HEIGHT}; 115 115 116 - 117 116 tic_api_rect(code->tic, 0, TIC80_HEIGHT - Height, TIC80_WIDTH, Height, code->status.color); 118 117 tic_api_print(code->tic, code->status.line, 0, StatusY, getConfig(code->studio)->theme.code.BG, true, 1, false); 119 118 tic_api_print(code->tic, code->status.size, TIC80_WIDTH - (s32)strlen(code->status.size) * TIC_FONT_WIDTH, 120 119 StatusY, getConfig(code->studio)->theme.code.BG, true, 1, false); 121 - 122 120 } 123 121 124 122 static char* getPosByLine(char* ptr, s32 line) ··· 373 371 pointer++; 374 372 } 375 373 } 376 - 377 - 374 + s 378 375 static s32 getLinesCount(Code* code) 379 376 { 380 377 char* text = code->src; ··· 457 454 code->cursor.delay = TEXT_CURSOR_DELAY; 458 455 459 456 sprintf(code->status.line, "line %i/%i col %i", line + 1, getLinesCount(code) + 1, column + 1); 460 - 461 457 { 462 458 s32 codeLen = strlen(code->src); 463 459 sprintf(code->status.size, "size %i/%zu", codeLen, MAX_CODE);
+3
src/studio/screens/console.c
··· 4208 4208 } 4209 4209 else printBack(console, "\n loading cart..."); 4210 4210 } 4211 + 4212 + if (getStudioMode(console->studio) != TIC_CONSOLE_MODE) return; 4213 + 4211 4214 tic_api_cls(tic, TIC_COLOR_BG); 4212 4215 drawConsoleText(console); 4213 4216
-3
src/studio/studio.c
··· 2159 2159 tic->ram->input.mouse.scrollx *= -1; 2160 2160 } 2161 2161 2162 - 2163 2162 static void blitCursor(Studio* studio) 2164 2163 { 2165 2164 tic_mem* tic = studio->tic; ··· 2602 2601 if(args.cli) 2603 2602 args.skip = true; 2604 2603 2605 - #if defined(BUILD_EDITORS) 2606 2604 if(args.skip) 2607 2605 setStudioMode(studio, TIC_CONSOLE_MODE); 2608 - #endif 2609 2606 2610 2607 return studio; 2611 2608 }