diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-25 13:48:30 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-25 13:48:30 -0800 |
commit | 84fc7f7892dd056c3df579bf5bd1cf27a20d5cc7 (patch) | |
tree | d578230082eae2b9dbe1d930e9c7f7c76163a756 /src/shell.html | |
parent | 054df391e65ff6e9f2f494176990d6bc2558881f (diff) | |
parent | 7da74b04f9733a801fbd1ff90acc55309121e1b6 (diff) |
Merge pull request #1856 from coolwanglu/sdl
Implement SDL_LowerBlit
Diffstat (limited to 'src/shell.html')
-rw-r--r-- | src/shell.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.html b/src/shell.html index 53a4fffb..efb9e91d 100644 --- a/src/shell.html +++ b/src/shell.html @@ -50,7 +50,7 @@ //text = text.replace(/>/g, ">"); //text = text.replace('\n', '<br>', 'g'); element.value += text + "\n"; - element.scrollTop = 99999; // focus on bottom + element.scrollTop = element.scrollHeight; // focus on bottom }; })(), printErr: function(text) { |