mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 19:08:58 +00:00
Merge branch 'master' into sixel
This commit is contained in:
commit
3aebcc6709
16
CHANGES
16
CHANGES
@ -59,6 +59,20 @@ CHANGES FROM 3.0 to X.X
|
|||||||
|
|
||||||
* Add reverse sorting in tree, client and buffer modes.
|
* Add reverse sorting in tree, client and buffer modes.
|
||||||
|
|
||||||
|
CHANGES FROM 3.0 to 3.0a
|
||||||
|
|
||||||
|
* Do not require REG_STARTEND.
|
||||||
|
|
||||||
|
* Respawn panes or windows correctly if default-command is set.
|
||||||
|
|
||||||
|
* Add missing option for after-kill-pane hook.
|
||||||
|
|
||||||
|
* Fix for crash with a format variable that doesn't exist.
|
||||||
|
|
||||||
|
* Do not truncate list-keys output on some platforms.
|
||||||
|
|
||||||
|
* Do not crash when restoring a layout with only one pane.
|
||||||
|
|
||||||
CHANGES FROM 2.9 to 3.0
|
CHANGES FROM 2.9 to 3.0
|
||||||
|
|
||||||
* Workaround invalid layout strings generated by older tmux versions and add
|
* Workaround invalid layout strings generated by older tmux versions and add
|
||||||
@ -149,7 +163,7 @@ CHANGES FROM 2.9 to 3.0
|
|||||||
* Add the ability to create simple menus. Introduces new command
|
* Add the ability to create simple menus. Introduces new command
|
||||||
display-menu. Default menus are bound to MouseDown3 on the status line;
|
display-menu. Default menus are bound to MouseDown3 on the status line;
|
||||||
MouseDown3 or M-MouseDown3 on panes; MouseDown3 in tree, client and
|
MouseDown3 or M-MouseDown3 on panes; MouseDown3 in tree, client and
|
||||||
buffer modes; and C-b C-m and C-b M-m.
|
buffer modes; and C-b < and >.
|
||||||
|
|
||||||
* Allow panes to be empty (no command). They can be created either by piping to
|
* Allow panes to be empty (no command). They can be created either by piping to
|
||||||
split-window -I, or by passing an empty command ('') to split-window. Output
|
split-window -I, or by passing an empty command ('') to split-window. Output
|
||||||
|
25
compat.h
25
compat.h
@ -61,12 +61,31 @@ void warn(const char *, ...);
|
|||||||
void warnx(const char *, ...);
|
void warnx(const char *, ...);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_PATHS_H
|
#ifdef HAVE_PATHS_H
|
||||||
|
#include <paths.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _PATH_BSHELL
|
||||||
#define _PATH_BSHELL "/bin/sh"
|
#define _PATH_BSHELL "/bin/sh"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _PATH_TMP
|
||||||
#define _PATH_TMP "/tmp/"
|
#define _PATH_TMP "/tmp/"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _PATH_DEVNULL
|
||||||
#define _PATH_DEVNULL "/dev/null"
|
#define _PATH_DEVNULL "/dev/null"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _PATH_TTY
|
||||||
#define _PATH_TTY "/dev/tty"
|
#define _PATH_TTY "/dev/tty"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _PATH_DEV
|
||||||
#define _PATH_DEV "/dev/"
|
#define _PATH_DEV "/dev/"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _PATH_DEFPATH
|
||||||
#define _PATH_DEFPATH "/usr/bin:/bin"
|
#define _PATH_DEFPATH "/usr/bin:/bin"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -98,10 +117,6 @@ void warnx(const char *, ...);
|
|||||||
#include "compat/bitstring.h"
|
#include "compat/bitstring.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_PATHS_H
|
|
||||||
#include <paths.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBUTIL_H
|
#ifdef HAVE_LIBUTIL_H
|
||||||
#include <libutil.h>
|
#include <libutil.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -24,12 +24,6 @@
|
|||||||
|
|
||||||
#include "tmux.h"
|
#include "tmux.h"
|
||||||
|
|
||||||
#define DEFAULT_CLIENT_MENU \
|
|
||||||
" 'Detach' 'd' {detach-client}" \
|
|
||||||
" 'Detach & Kill' 'X' {detach-client -P}" \
|
|
||||||
" 'Detach Others' 'o' {detach-client -a}" \
|
|
||||||
" ''" \
|
|
||||||
" 'Lock' 'l' {lock-client}"
|
|
||||||
#define DEFAULT_SESSION_MENU \
|
#define DEFAULT_SESSION_MENU \
|
||||||
" 'Next' 'n' {switch-client -n}" \
|
" 'Next' 'n' {switch-client -n}" \
|
||||||
" 'Previous' 'p' {switch-client -p}" \
|
" 'Previous' 'p' {switch-client -p}" \
|
||||||
@ -325,7 +319,6 @@ key_bindings_init(void)
|
|||||||
"bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'",
|
"bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= \"#{pane_in_mode}\" \"copy-mode -M\" \"send-keys -M\"' 'copy-mode -M'",
|
||||||
"bind -n WheelUpPane if -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -et=\"'",
|
"bind -n WheelUpPane if -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= \"#{pane_in_mode}\" \"send-keys -M\" \"copy-mode -et=\"'",
|
||||||
|
|
||||||
"bind -n MouseDown3StatusRight display-menu -t= -xM -yS -T \"#[align=centre]#{client_name}\" " DEFAULT_CLIENT_MENU,
|
|
||||||
"bind -n MouseDown3StatusLeft display-menu -t= -xM -yS -T \"#[align=centre]#{session_name}\" " DEFAULT_SESSION_MENU,
|
"bind -n MouseDown3StatusLeft display-menu -t= -xM -yS -T \"#[align=centre]#{session_name}\" " DEFAULT_SESSION_MENU,
|
||||||
"bind -n MouseDown3Status display-menu -t= -xW -yS -T \"#[align=centre]#{window_index}:#{window_name}\" " DEFAULT_WINDOW_MENU,
|
"bind -n MouseDown3Status display-menu -t= -xW -yS -T \"#[align=centre]#{window_index}:#{window_name}\" " DEFAULT_WINDOW_MENU,
|
||||||
"bind < display-menu -xW -yS -T \"#[align=centre]#{window_index}:#{window_name}\" " DEFAULT_WINDOW_MENU,
|
"bind < display-menu -xW -yS -T \"#[align=centre]#{window_index}:#{window_name}\" " DEFAULT_WINDOW_MENU,
|
||||||
|
Loading…
Reference in New Issue
Block a user