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

Add mouse support #90

Closed
jpillora opened this issue Mar 1, 2018 · 4 comments
Closed

Add mouse support #90

jpillora opened this issue Mar 1, 2018 · 4 comments

Comments

@jpillora
Copy link

jpillora commented Mar 1, 2018

Haven't looked into how it's implemented, however htop for example, supports mouse clicks to select a process. Would be nice if you could click channels, possibly click links and open them.

@EduardoRT
Copy link

A lot of the value of using the term is not having to use the mouse, imho. It would be nice to have for that one time you forget the keybinding but I don't think it's something important.

@jpbruinsslot
Copy link
Owner

At the moment my personal preference is not to implement this feature. Mainly it will mean that slack-term needs to support all different kind of clickable elements (channels, chat view, messages, etc.), as well as scrolling. It also will depend on the library that slack-term uses for the terminal interface, at the moment it uses termui, which for several reasons, I'd like to replace.

As clicking on links, the terminal emulator I use (gnome-terminal) is able to identify links and make them clickable. Another solution might be urlview which I use in combination with tmux: https://github.com/erroneousboat/dotfiles/blob/master/files/tmux/.tmux.conf#L116-L117

@floam
Copy link

floam commented Oct 12, 2019

A lot of the value of using the term is not having to use the mouse, imho. It would be nice to have for that one time you forget the keybinding but I don't think it's something important.

Not just the "one" time you forgot a keybinding, but also before you've figured out the keybinding, or when the mouse would be genuinely more efficient, or also just any time you already have your hand on a mouse for some other reason and it could save time. Seriously, this could be a nice to have feature given that most of use are using terminal emulators. Of course you would never require a mouse to do anything.

@floam
Copy link

floam commented Oct 12, 2019

(Features like picking a comment to start a new thread, or adding reactions might come to mind. Scrolling events...)

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

No branches or pull requests

4 participants