Search code examples
c#macosconsole-applicationvisual-studio-mac

Visual Studio Mac extra text after click any key to continue


So I have a console application through visual studio on my Mac and after I “press any key to continue” I get extra text after it saying:

logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Does anybody know what this is or how to hide it?


Solution

  • This is your Mac telling you that the current Bash session has ended.

    You'll see the same thing if you open Terminal and then type: exit:

    $ exit
    logout
    Saving session...
    ...copying shared history...
    ...saving history...truncating history files...
    ...completed.
    Deleting expired sessions...322 completed.
    
    [Process completed]
    

    So, this is not a Visual Studio thing at all. Visual Studio finished the application that it was running in the Bash context, and then cleanly closed that session.