pop-os / cosmic-term

WIP COSMIC terminal emulator
GNU General Public License v3.0
367 stars 61 forks source link

"Exit" command does not work on the terminal #284

Closed energypop closed 2 weeks ago

energypop commented 1 month ago

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

igeljaeger commented 1 month ago

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

energypop commented 1 month ago

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

igeljaeger commented 1 month ago

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

energypop commented 1 month ago

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

igeljaeger commented 1 month ago

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.

Karvie0 commented 2 weeks ago

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

MoSal commented 2 weeks ago

Maybe a possible duplicate of #191!

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

l-const commented 2 weeks ago

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

Karvie0 commented 2 weeks ago

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

This fixed it for me. Thanks!

leviport commented 2 weeks ago

Fixed for me too, closing