You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
m_ConsoleText->SetText("- RTE Lua Console -\nSee the Data Realms Wiki for commands: http://www.datarealms.com/wiki/\nPress F1 for a list of helpful shortcuts\n-------------------------------------");
69
+
if (!g_FrameMan.ResolutionChanged()) {
70
+
m_ConsoleText->SetText("- RTE Lua Console -\nSee the Data Realms Wiki for commands: http://www.datarealms.com/wiki/\nPress F1 for a list of helpful shortcuts\n-------------------------------------");
Copy file name to clipboardExpand all lines: Managers/ConsoleMan.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,8 @@ namespace RTE {
176
176
std::string m_LastInputString; //!< Place to save the last worked on input string before deactivating the console.
177
177
short m_LastLogMove; //!< The last direction the log marker was moved. Needed so that changing directions won't need double tapping.
178
178
179
+
std::string m_ConsoleTextBackup; //!< A copy of the whole console text at the time of destruction. Used to restore console text when ConsoleMan is re-created after a resolution change.
0 commit comments