Skip to content

Commit b016cba

Browse files
committed
add console commands history
1 parent ef1bc76 commit b016cba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mypyconsole

mytonctrl/mytonctrl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def inject_globals(func):
6666
console.name = "MyTonCtrl"
6767
console.startFunction = inject_globals(PreUp)
6868
console.debug = ton.GetSettings("debug")
69+
console.local = local
6970

7071
console.AddItem("update", inject_globals(Update), local.translate("update_cmd"))
7172
console.AddItem("upgrade", inject_globals(Upgrade), local.translate("upgrade_cmd"))

0 commit comments

Comments
 (0)