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

Terminal emulator alternative #30

Closed
MadLittleMods opened this issue May 17, 2023 · 2 comments
Closed

Terminal emulator alternative #30

MadLittleMods opened this issue May 17, 2023 · 2 comments

Comments

@MadLittleMods
Copy link
Owner

MadLittleMods commented May 17, 2023

Currently using xfce4-terminal which came with my Manjaro/XFCE install but it's lacking features. Basically, I'm just used to some niceties from iTerm2 on macOS.

Lacking features:

  • Ctrl + Shift + f find dialog does not show number of occurrences and highlight the position in the scrollbar
  • Be able to jump up and down to previous commands/prompts
    • With iTerm2, I could do this with Cmd + Shift + arrow up/down after installing the shell integration (https://stackoverflow.com/a/56420163/796832). Basically what it does it add a special mark to your shell prompt and you can jump from mark to mark.
  • Persistently highlight matching text in the terminal
    • In iTerm2, I could achieve this with a trigger to highlight text, https://stackoverflow.com/a/41468739/796832
    • Captured output
      • "When you build a big project, you used to have to pore over its output to find warnings and errors. No more! With the captured output feature, iTerm2 finds those messages (based on regular expressions you define) and shows them in the toolbelt.", https://iterm2.com/documentation-captured-output.html
      • I didn't even know this was a feature in iTerm2 but is exactly what I've been wanting forever and basically what I was jankily trying to achieve with the persistent highlights

Some stuff from https://www.warp.dev/ also looks cool but haven't tried it.

Potential solutions

Some recommendations: https://askubuntu.com/a/1079589/196148

Interesting options:

Possible options:

Not viable:

Solution

Use Ghostty

TODO: Figure out which shell to use -> #35

@MadLittleMods MadLittleMods added the x-needs-solution We haven't figured out how to solve this one yet and/or no sufficient workaround exists. label May 17, 2023
@MadLittleMods MadLittleMods changed the title Terminal alternative Terminal emulator alternative May 28, 2023
@MadLittleMods
Copy link
Owner Author

Probably will switch to Ghostty when that becomes generally available

@MadLittleMods
Copy link
Owner Author

MadLittleMods commented Jan 19, 2025

I've been using Ghostty since the private beta (December 2023) but is now generally available and open source. It's great and has a solid design ethos driving it forward. Standards-compliant (works how you expect and even complex text-UI (TUI) programs that use fancy control-codes work), supports some fancier features (like Kitty grahpics/image support), performant/fast, mouse-draggable tabs, native UI and experience to the platform, plans for a settings GUI, and hopefully more nicety features to come. Basically all the goodness of iTerm2 but now cross-platform. It's super easy to build with Zig (zig build -p $HOME/.local -Doptimize=ReleaseFast).

The only big downside at the moment is that it doesn't have Ctrl + f search yet, tracked by ghostty-org/ghostty#189. There is a great workaround/substitute where you can press Ctrl + Shift + j which saves the scrollback buffer to a temporary file and pastes the path to the file so you can easily just open it in your favorite text editor.

@MadLittleMods MadLittleMods added has-acceptable-solution and removed x-needs-solution We haven't figured out how to solve this one yet and/or no sufficient workaround exists. labels Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant