this repo has no description
0
fork

Configure Feed

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

Avoid command from history not fully visible at the bottom (#2627)

* Avoid-command-from-history-not-fully-visible-at-the-bottom

* proper solution

* fix same problem when pasting big texts

authored by

Miguel and committed by
GitHub
b33e5163 eae8b556

+5 -2
+5 -2
src/studio/screens/console.c
··· 4235 4235 switch(getClipboardEvent(console->studio)) 4236 4236 { 4237 4237 case TIC_CLIPBOARD_COPY: copyToClipboard(console); break; 4238 - case TIC_CLIPBOARD_PASTE: copyFromClipboard(console); break; 4238 + case TIC_CLIPBOARD_PASTE: copyFromClipboard(console); scrollConsole(console); break; 4239 4239 default: break; 4240 4240 } 4241 4241 ··· 4270 4270 } 4271 4271 else 4272 4272 { 4273 - if(keyWasPressed(console->studio, tic_key_up)) onHistoryUp(console); 4273 + if(keyWasPressed(console->studio, tic_key_up)) { 4274 + onHistoryUp(console); 4275 + scrollConsole(console); 4276 + } 4274 4277 else if(keyWasPressed(console->studio, tic_key_down)) onHistoryDown(console); 4275 4278 else if(keyWasPressed(console->studio, tic_key_left)) 4276 4279 {