unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 60d18d7329d561456d89d6b7d120d3eae9b0dc87 993 bytes (raw)
name: lisp/term/tmux.el 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
;;; tmux.el --- terminal initialization for tmux  -*- lexical-binding: t -*-
;; Copyright (C) 2017 Free Software Foundation, Inc.

(require 'term/xterm)

(defcustom xterm-tmux-extra-capabilities '(modifyOtherKeys)
  "Extra capabilities supported under \"tmux\".
Some features of tmux depend on the terminal emulator in which
it runs, which can change when the tmux session is moved to another tty."
  :version "26.1"
  :type xterm--extra-capabilities-type
  :group 'xterm)

(defun terminal-init-tmux ()
  "Terminal initialization function for tmux."
  ;; Treat a tmux terminal similar to an xterm, but don't use
  ;; xterm-extra-capabilities's `check' setting since that doesn't seem
  ;; to work so well (it depends too much on the surrounding terminal
  ;; emulator, which can change during the session, bug#20356).
  (let ((xterm-extra-capabilities xterm-tmux-extra-capabilities))
    (tty-run-terminal-initialization (selected-frame) "xterm")))

(provide 'term/tmux)

;; tmux.el ends here

debug log:

solving 60d18d7329 ...
found 60d18d7329 in https://git.savannah.gnu.org/cgit/emacs.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).