hyper: Hyper doesn't correctly support mouse mode in tmux 2.5

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: OSX 10.12.5
  • Hyper.app version: Version 1.3.3 (1.3.3.1754)
  • Link of a Gist with the contents of your .hyper.js: Vanilla install, no customisation.
  • Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

Mouse mode in tmux 2.5 (stable) does not appear to function.

Steps to reproduce (from clean install of all tools)

  1. Install Hyper
  2. Install tmux via brew install tmux
  3. Configure tmux to use mouse mode by echo "set -g mouse on" >> ~/.tmux.conf
  4. Run tmux
  5. Inside a tmux session run tmux split-window

Expected behaviour

You should be able to use the mouse to select which pane within the tux session is active.

Actual behaviour

No effect. It does not allow mouse interaction with panes in tmux, and no obvious logging is produced within Hyper to indicate an error.


I’ve validated this functions as expected in Terminal.app and iTerm with same config and installation steps.

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 32
  • Comments: 46 (6 by maintainers)

Most upvoted comments

Is there any update on this issue ?

Completely ignoring mouse input is a huge issue for me and is really preventing me from using hyper.

Still an issue using tmux + zsh in WSL. I am also having scrolling issues when using split panes, or running vim. Scrolling causes the entire terminal output to scroll rather than scrolling within an individual pane or the buffer in vim.

Running into this. Windows 10 + hyper + tmux

I am having this exact same issue with Hyper (version 1.4.2) on Windows 10. I’m using Hyper for Windows Subsystem for Linux and can not get the mouse to work correctly at all in tmux within Hyper. It works fine within the WSL Ubuntu terminal emulator (which doesn’t have other features that Hyper has). Is there any fix on this? Thanks!

@abid-mujtaba using tmux with mouse works perfectly for me. I can focus splits, resize them, focus window, etc. The only thing that didn’t work for me was ALT+mouse to select text in Mac, but it does now with this hyper option macOptionSelectionMode: 'force'

same problem. Hyper is awesome for real(except this 😦 )

Noting I have also experienced this with Hyper on Windows running a WSL Ubuntu. Mouse Mode works fine in the default “bash” (cmd). Presumably a limitation with WSL. Perhaps can be resolved with wsl2 release?

@abid-mujtaba @pablopunk When I launch bash from cmd.exe (not within Hyper) I can indeed use my mouse to set focus to tmux panes/windows. It appears as though this is a problem with Hyper

@abid-mujtaba it does, I guess it is a problem with WSL then

Works for me. Try hyper 3

I have serious issues with tmux, like in Visual Mode, selecting things then copying, hyper just hangs.

Also, sometimes, the mouse buttons starts typing things.

Same problem with Midnight Commander. So this issue is not specific to tmux, it seems that Hyper just ignores mouse input. In Terminology and GNOME Terminal it works fine.