1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Use the console instead of a dedicated window when pressing keymap_chat/cmd

keymap_console opens a full window for chat history browsing.
This commit is contained in:
Esteban I. Ruiz Moreno 2013-06-02 21:16:32 -03:00 committed by ShadowNinja
parent da97969c9b
commit effa24737d
6 changed files with 97 additions and 99 deletions

View file

@ -146,14 +146,17 @@ public:
void input(wchar_t ch);
void input(const std::wstring &str);
// Submit, clear and return current line
std::wstring submit();
// Add a string to the history
void addToHistory(std::wstring line);
// Get current line
std::wstring getLine();
// Clear the current line
void clear();
// Replace the current line with the given text
void replace(std::wstring line);
std::wstring replace(std::wstring line);
// Select previous command from history
void historyPrev();