Well i'm not lexikos but, i can tell you that ahk is compiled as a GUI application.. What you probably want is the Console Subsystem. In the preview2 of ahk2exe there is a compile directive that can set the subsystem to console. I made a little ahk2exe wrapper that compiles ahk scripts to exe with the console subsystem.... I could probably make it a lot better.. But What you really want to look at here is this script by Lexikos that changes it for you: https://github.com/joedf/LibCon.ahk/blo ... hk2CLI.ahk
I've updated the palette in Syntax.ahk slightly, and fixed a bug in the hex detection (it didn't used to detect hex numbers with 0s in them).
Also, I added a new example script, Embed.ahk. It's a proof of concept for embedding a console as a control in your own gui. I wasn't sure how to fix a rendering issue until I saw @Ronin 's code that had a style which I did not (WS_CLIPCHILDREN). So, thanks Ronins! If you want, I can put you in the ReadMe