If a mouse position was above the maximum supported by the normal mouse
protocol (223), tmux was allowing it to wrap around. However, since tmux was
not correctly handling this on input, other programs also do not handle it
correctly, and the alternative SGR mouse mode is now widespread, this seems
unnecessary, so remove this feature. Also define some constants to make it
clearer what the numbers mean. Mostly from Leonid S Usov in GitHub issue 3165.
3 files changed
tree: a4f40113cca66cd1bf0612c86f9949b638691ca3
  1. .github/
  2. .gitignore
  3. .mailmap
  4. .travis.yml
  5. CHANGES
  6. COPYING
  7. Makefile.am
  8. README
  9. README.ja
  10. SYNCING
  11. alerts.c
  12. arguments.c
  13. attributes.c
  14. autogen.sh
  15. cfg.c
  16. client.c
  17. cmd-attach-session.c
  18. cmd-bind-key.c
  19. cmd-break-pane.c
  20. cmd-capture-pane.c
  21. cmd-choose-tree.c
  22. cmd-command-prompt.c
  23. cmd-confirm-before.c
  24. cmd-copy-mode.c
  25. cmd-detach-client.c
  26. cmd-display-menu.c
  27. cmd-display-message.c
  28. cmd-display-panes.c
  29. cmd-find-window.c
  30. cmd-find.c
  31. cmd-if-shell.c
  32. cmd-join-pane.c
  33. cmd-kill-pane.c
  34. cmd-kill-server.c
  35. cmd-kill-session.c
  36. cmd-kill-window.c
  37. cmd-list-buffers.c
  38. cmd-list-clients.c
  39. cmd-list-keys.c
  40. cmd-list-panes.c
  41. cmd-list-sessions.c
  42. cmd-list-windows.c
  43. cmd-load-buffer.c
  44. cmd-lock-server.c
  45. cmd-move-window.c
  46. cmd-new-session.c
  47. cmd-new-window.c
  48. cmd-parse.y
  49. cmd-paste-buffer.c
  50. cmd-pipe-pane.c
  51. cmd-queue.c
  52. cmd-refresh-client.c
  53. cmd-rename-session.c
  54. cmd-rename-window.c
  55. cmd-resize-pane.c
  56. cmd-resize-window.c
  57. cmd-respawn-pane.c
  58. cmd-respawn-window.c
  59. cmd-rotate-window.c
  60. cmd-run-shell.c
  61. cmd-save-buffer.c
  62. cmd-select-layout.c
  63. cmd-select-pane.c
  64. cmd-select-window.c
  65. cmd-send-keys.c
  66. cmd-server-access.c
  67. cmd-set-buffer.c
  68. cmd-set-environment.c
  69. cmd-set-option.c
  70. cmd-show-environment.c
  71. cmd-show-messages.c
  72. cmd-show-options.c
  73. cmd-show-prompt-history.c
  74. cmd-source-file.c
  75. cmd-split-window.c
  76. cmd-swap-pane.c
  77. cmd-swap-window.c
  78. cmd-switch-client.c
  79. cmd-unbind-key.c
  80. cmd-wait-for.c
  81. cmd.c
  82. colour.c
  83. compat.h
  84. compat/
  85. configure.ac
  86. control-notify.c
  87. control.c
  88. environ.c
  89. example_tmux.conf
  90. file.c
  91. format-draw.c
  92. format.c
  93. fuzz/
  94. grid-reader.c
  95. grid-view.c
  96. grid.c
  97. input-keys.c
  98. input.c
  99. job.c
  100. key-bindings.c
  101. key-string.c
  102. layout-custom.c
  103. layout-set.c
  104. layout.c
  105. log.c
  106. logo/
  107. mdoc2man.awk
  108. menu.c
  109. mode-tree.c
  110. names.c
  111. notify.c
  112. options-table.c
  113. options.c
  114. osdep-aix.c
  115. osdep-cygwin.c
  116. osdep-darwin.c
  117. osdep-dragonfly.c
  118. osdep-freebsd.c
  119. osdep-haiku.c
  120. osdep-hpux.c
  121. osdep-linux.c
  122. osdep-netbsd.c
  123. osdep-openbsd.c
  124. osdep-sunos.c
  125. osdep-unknown.c
  126. paste.c
  127. popup.c
  128. presentations/
  129. proc.c
  130. regress/
  131. regsub.c
  132. resize.c
  133. screen-redraw.c
  134. screen-write.c
  135. screen.c
  136. server-acl.c
  137. server-client.c
  138. server-fn.c
  139. server.c
  140. session.c
  141. spawn.c
  142. status.c
  143. style.c
  144. tmux-protocol.h
  145. tmux.1
  146. tmux.c
  147. tmux.h
  148. tools/
  149. tty-acs.c
  150. tty-features.c
  151. tty-keys.c
  152. tty-term.c
  153. tty.c
  154. utf8.c
  155. window-buffer.c
  156. window-client.c
  157. window-clock.c
  158. window-copy.c
  159. window-customize.c
  160. window-tree.c
  161. window.c
  162. xmalloc.c
  163. xmalloc.h