this repo has no description
0
fork

Configure Feed

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

Merge pull request #1925 from sakisakira/main

Adjust scroll of console when a command spills to the next line.

authored by

Vadim Grigoruk and committed by
GitHub
fd10b48a cb6a98d1

+3 -1
+3 -1
src/studio/screens/console.c
··· 327 327 console->cursor.pos.y--; 328 328 } 329 329 330 - s32 minScroll = console->cursor.pos.y - CONSOLE_BUFFER_HEIGHT + 1; 330 + size_t inputLines = (console->cursor.pos.x + console->input.pos) / CONSOLE_BUFFER_WIDTH; 331 + s32 minScroll = console->cursor.pos.y + inputLines - CONSOLE_BUFFER_HEIGHT + 1; 331 332 if(console->scroll.pos < minScroll) 332 333 console->scroll.pos = minScroll; 333 334 } ··· 3307 3308 } 3308 3309 finishTabComplete(&data); 3309 3310 } 3311 + scrollConsole(console); 3310 3312 } 3311 3313 3312 3314 static void toUpperStr(char* str)