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

Add paste command (Ctrl-V) in GUIChatConsole

This commit is contained in:
Kahrl 2014-09-19 22:26:38 +02:00
parent cfba55ba0a
commit daefd0ab36
3 changed files with 24 additions and 1 deletions

View file

@ -142,8 +142,9 @@ public:
ChatPrompt(std::wstring prompt, u32 history_limit);
~ChatPrompt();
// Input character
// Input character or string
void input(wchar_t ch);
void input(const std::wstring &str);
// Submit, clear and return current line
std::wstring submit();