Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • solarus solarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Solarus Games
  • solarussolarus
  • Issues
  • #550

Closed
Open
Created Jun 16, 2014 by Christopho@christophoOwner

Provide a way to show a console on Windows

Created by: christopho

On windows, a program can either be a console application or a GUI application. If solarus is compiled as a console application, a console pops and we don't want that for players. If solarus is compiled as a GUI application, no output is available (no stdin, stdout or stderr), even if you run it from a console. This is a problem for quest makers who want to debug their scripts.

Therefore, we should add a runtime option to pop a console on windows (default would be false). And maybe an option in quest.dat, and/or a Lua function sol.main.create_console().

The problem is that all of this will be windows-specific, because on decent systems, GUI applications show their output in the console they were launched from, if any, and don't create a console otherwise.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking