File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
rt-shell/objects/obj_shell Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ deferredQueue = ds_queue_create();
4747// Variables for the saved history feature
4848savedHistoryFilePath = working_directory + " rt-shell-saved-history.data" ;
4949loadedSavedHistory = false ;
50+ loadedHistoryScrolled = false ;
5051
5152// Mouse-argument data types
5253enum mouseArgumentType {
Original file line number Diff line number Diff line change 1- if (saveHistory && !loadedSavedHistory) {
2- self._load_history ();
3- loadedSavedHistory = true ;
1+ if (saveHistory) {
2+ if (!loadedSavedHistory) {
3+ self._load_history ();
4+ loadedSavedHistory = true ;
5+ } else if (!loadedHistoryScrolled && isOpen) {
6+ targetScrollPosition = maxScrollPosition;
7+ scrollPosition = maxScrollPosition;
8+ loadedHistoryScrolled = true ;
9+ }
410}
511
612if (!isOpen) {
You can’t perform that action at this time.
0 commit comments