Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Ghostty #3683

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

lucas-yotsui
Copy link

Description

Added support for running applications using Ghostty.

Note: I don't know why the other terminals require the 'sh -c' or
'bash -c', but Ghostty calls that already when passing the option '-e'.
It worked fine in my pc without that, but it would be nice if someone
else tested it just to make sure.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Built and installed
  • Removed EasyTerm (installed by the flatpak builder) and any other terminal emulators from my machine
  • Ran executable checking the "Run in Terminal" option

Worked fine here, but as I mentioned further testing would be nice.

Simple change, worked fine.

Small note: I don't know why the other terminals require the 'sh -c' or
'bash -c', but Ghostty calls that already when passing the option '-e'.
worked fine in my machine without that, but it would be nice if someone
else tested it just to make sure.
@orowith2os
Copy link
Contributor

@TheEvilSkeleton looks like something to patch up with the recent patches to focus on the Flatpak.

@TheEvilSkeleton
Copy link
Member

I didn't even know we had that code around. I wouldn't mind merging this because it's the backend side of things, but I'm not entirely sure if the code is even correct?

@TheEvilSkeleton
Copy link
Member

I think the bigger issue is that we're hard coding all these terminals, when we should instead be letting the user set it themselves

@lucas-yotsui
Copy link
Author

I think the bigger issue is that we're hard coding all these terminals, when we should instead be letting the user set it themselves

That was actually my first thought upon seeing this code.

Personally, I think it would be nicer to have a setting like "terminal command" in which I setup the command that works for my emulator, whatever it may be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants