cosmic-term icon indicating copy to clipboard operation
cosmic-term copied to clipboard

"Exit" command does not work on the terminal

Open NetChirp opened this issue 1 year ago • 5 comments

It is replicable on all machines and happens every time. Open a terminal and type "exit", the terminal won't close at any moment screenshot-2024-08-11-18-37-29

Reported on the PopOS 24.04 Alpha with Intel CPU

NetChirp avatar Aug 11 '24 18:08 NetChirp

this seems to be a user or .bashrc issue since it works on mine (when I press enter it closes the terminal): screenshot-2024-08-11-22-58-37

igeljaeger avatar Aug 11 '24 22:08 igeljaeger

I have the default settings that the installer applies to the system. It's strange if you cannot replicate the issue without having modified bashrc excepting for themes

NetChirp avatar Aug 12 '24 00:08 NetChirp

I actually used a custom .bashrc. I moved it as a test. exist worked then too. image

igeljaeger avatar Aug 12 '24 00:08 igeljaeger

Maybe try to install the alpha without Nvidia drivers on a virtual machine and test if it works. The issue happens on my machine constantly

NetChirp avatar Aug 12 '24 09:08 NetChirp

I am running the alpha on bare metal and even activated the popdev:master branch to always get the newest versions. But I am running AMD and not NVIDIA.

igeljaeger avatar Aug 12 '24 10:08 igeljaeger

I have this issue as well. Same thing when pressing Ctrl+D. I'm on OpenSUSE Tumbleweed, and the only change to my bashrc is adding a couple directories to my path. The only change to the terminal settings was to add a new profile with fish as the default shell.

Edit: I'm on whatever version of the terminal is shipped by OpenSUSE, not the latest commit

Karvie0 avatar Aug 24 '24 19:08 Karvie0

Maybe a possible duplicate of #191!

Make sure everyone that you're not using a profile where "Hold" is enabled.

MoSal avatar Aug 24 '24 23:08 MoSal

Changing the default value of this config when creating a new profile should be considered , i do not get why it is set to true here: https://github.com/pop-os/cosmic-term/blame/master/src/config.rs#L214

l-const avatar Aug 25 '24 19:08 l-const

Make sure everyone that you're not using a profile where "Hold" is enabled.

This fixed it for me. Thanks!

Karvie0 avatar Aug 29 '24 00:08 Karvie0

Fixed for me too, closing

leviport avatar Aug 29 '24 13:08 leviport