tkMain.c.diff.txt (1.7 KB)
As I commented before L-gui is not processing #lang directives in interactive mode and you can not write little code in the L-gui shell. I looked how the L shell is doing the right thing (in tclMain.c) and made the same changes in L-gui (tkMain.c).
To apply the patch:
patch tk/generic/tkMain.c tkMain.c.diff.txt
I couldn’t figure out how to do a pull request on github when the modified code is from a submodule.