Spiker985 / x-terminal-reloaded

An xterm based package for providing terminals inside your workspace.
https://web.pulsar-edit.dev/packages/x-terminal-reloaded
Other
10 stars 3 forks source link

Feature Request: buttons for open, switch terminal #55

Open jberkus opened 1 year ago

jberkus commented 1 year ago

I'd love to switch to x-terminal-reloaded from my older, unmaintained, terminal plugin. However, I really really need to have a button for opening the terminal window ala Terminal Plus/Platform-IDE-Terminal.

If you're unfamiliar, Terminal Plus has this in the bottom left corner:

+ [] [] X

Where + opens a new terminal, each [] is a currently open terminal, and X is "close all". This provides a very nice clicking-UX for opening and closing terminals, something I do dozens of times each work session. The "switching" is also the way of "unhiding" terminal windows. It's a nice bit of UI that allows users to be very productive with multiple terminal windows without memorizing any key commands.

I realize this is more complicated than it is for Terminal Plus simply because x-terminal allows loading the terminal in any of several different windows rather than only the bottom dock.

zhaolinlau commented 1 year ago

any update? we need a toggle function on this

Spiker985 commented 1 year ago

I'm sorry for not seeing this sooner. That does sound like a much needed feature.

Since XTR is a fork of X-Terminal, there're quite a few things that are implemented currently that I don't particularly enjoy (the bazillion "Open in" commands, the way profiles work, the way you access profiles, etc)

This does seem like a very nice and nuanced way to, not only start, but also move through terminal panes

Let me see if I can take another look at this repo sometime soon

tom-power commented 1 year ago

@jberkus @zhaolinlau out of interest...

At the moment we have tabs that can be selected, with "x"s to close, also an "Open new terminal" action. Would adding a "+" for the "Open new terminal" action cover this? Thinking it'd be the same pattern as tabs in browsers?

Also noting that it's not done with file tabs, and maybe it's been talked about and decided against for some reason?? :)

Screenshot_2023-08-28_13-00-08

zhaolinlau commented 1 year ago

@tom-power it's quite inconvenient if have a lot of tabs