summaryrefslogtreecommitdiff
path: root/js/codeq/python.js
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-18 16:36:21 +0200
committerAleš Smodiš <aless@guru.si>2015-09-18 16:36:21 +0200
commit3df482a0fcca2f11cce51fc072e6a4dbc861c2a4 (patch)
treed5cf9869953a0b28232ba605b7cadf4bf877a728 /js/codeq/python.js
parentc922a97f9810321eb6812cf52c463454617b82d5 (diff)
Implement console history and enable it with python problems.
Diffstat (limited to 'js/codeq/python.js')
-rw-r--r--js/codeq/python.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/codeq/python.js b/js/codeq/python.js
index a8d4c95..c5f7df6 100644
--- a/js/codeq/python.js
+++ b/js/codeq/python.js
@@ -225,7 +225,8 @@
var makePythonTerminalHandler = function (jqConsole, editor, problem_id, activityHandler) {
var terminal = codeq.makeConsole(jqConsole, {
- 'greeting': 'CodeQ Python terminal proxy'
+ 'greeting': 'CodeQ Python terminal proxy',
+ 'autoHistory': true
}),
tcs = function terminalCommandSuccess (data) {
if (data.code !== 0) {