diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-24 23:33:32 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-01-24 23:33:32 (GMT) |
| commit | 35858ef6073092f8447bbec8b18b768061cf8bd0 (patch) | |
| tree | 1ad7e7e9272f6a640289bc422ebe7d34fe025bf0 /src/interface/Textbox.cpp | |
| parent | 04e4a2346d3d7ef6e0f0b38d8eafc928dc6e30bd (diff) | |
| download | powder-35858ef6073092f8447bbec8b18b768061cf8bd0.zip powder-35858ef6073092f8447bbec8b18b768061cf8bd0.tar.gz | |
Fix textbox
Diffstat (limited to 'src/interface/Textbox.cpp')
| -rw-r--r-- | src/interface/Textbox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Textbox.cpp b/src/interface/Textbox.cpp index 380ad59..328ccb5 100644 --- a/src/interface/Textbox.cpp +++ b/src/interface/Textbox.cpp @@ -1,4 +1,5 @@ #include <string> +#include <iostream> #include <stdexcept> #include "Config.h" #include "Global.h" @@ -157,6 +158,7 @@ void Textbox::OnKeyPress(int key, bool shift, bool ctrl, bool alt) if(cursor == text.length()) { text += key; + //std::cout << key << std::endl; } else { |
