Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24756

[Feature request] Skip "Press <RETURN> to close this window..." prompt

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.13.0
    • None
    • Linux, X11, Konsole

    • All, Linux/X11

    Description

      Please, add an option to skip the prompt in terminal that says "Press <RETURN> to close this window..." after application closes.

      I used to run applications with terminal, because otherwise program's output just doesn't show up in Qt Creator console. To do this, I tick this checkbox in settings: Projects -> Build & Run -> Desktop -> Run -> Run in terminal.

      But with the terminal option enabled, launching script asks me to "Press <RETURN> to close this window..." every single time, even if app shuts down normally.

      Hence, I propose to add a sub-option of the aforementioned "Run in terminal" option: a label "Wait for <RETURN> key:" and a drop-down menu with three items:

      1. "Always" (default)
      2. "Only when exit status is non-zero"
      3. "Never".

      At first, I thought only about first two items, but then I thought there might be terminal emulators which do not close their window even after their root child process exited.

      Attachments

        1. Run-in-terminal.png
          102 kB
          ivan tkachenko

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              ratijas ivan tkachenko
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes