Ticket #4149: 0001-Ticket-4149-add-alacritty-tmux-tmux-256color-as-xter.patch

File 0001-Ticket-4149-add-alacritty-tmux-tmux-256color-as-xter.patch, 1001 bytes (added by slyfox, 10 months ago)

0001-Ticket-4149-add-alacritty-tmux-tmux-256color-as-xter.patch

  • misc/mc.lib

    From d9e9a9f199d673a9e9995c1162048f3a854d029e Mon Sep 17 00:00:00 2001
    From: Sergei Trofimovich <slyfox@gentoo.org>
    Date: Thu, 26 Nov 2020 08:05:37 +0000
    Subject: [PATCH] Ticket #4149: add 'alacritty', 'tmux', 'tmux-256color' as
     xterm aliases
    
    'alacritty', 'tmux' and 'tmux-256color' all implement Shift+F<N> keys
    in an xterm-compatible way. Without this change Shift+F<N> are handled
    as F<N-2> key presses.
    
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
    ---
     misc/mc.lib | 9 +++++++++
     1 file changed, 9 insertions(+)
    
    diff --git a/misc/mc.lib b/misc/mc.lib
    index d84a7b5a6..bf8be065c 100644
    a b alt-shift-left=\\e[1\;4D 
    116116alt-shift-up=\\e[1\;4A 
    117117alt-shift-down=\\e[1\;4B 
    118118 
     119[terminal:alacritty] 
     120copy=xterm 
     121 
    119122[terminal:gnome] 
    120123copy=xterm 
    121124 
    copy=xterm 
    137140[terminal:screen-256color] 
    138141copy=xterm 
    139142 
     143[terminal:tmux] 
     144copy=xterm 
     145 
     146[terminal:tmux-256color] 
     147copy=xterm 
     148 
    140149[terminal:ibmpc3] 
    141150f11=\\e[Y 
    142151f12=\\e[Z