You are reading a single comment by @user156311 and its replies. Click here to read the full conversation.
  • Does anyone have hints for using espruino on Linux?

    I can get it to create a window and draw into it

    g = Graphics.createSDL(1024, 768, 8);
    
    g.setColor(1,1,1).setFont("Vector",25);
    g.setFontAlign(0,0);
    g.drawString("SpaceWeaver", 85,35);
    

    but then application exits, so text is only visible for millisecond or so. Does anyone have example of using createSDL? Ideally I'd like to handle input events, too, but Bangle.on() does not seem to be available on Linux.

About

Avatar for user156311 @user156311 started