mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02: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:
committed by
ShadowNinja
parent
da97969c9b
commit
effa24737d
@@ -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();
|
||||
|
Reference in New Issue
Block a user