diff --git a/kitty/terminfo.py b/kitty/terminfo.py index 85bbd0241..348e934a9 100644 --- a/kitty/terminfo.py +++ b/kitty/terminfo.py @@ -181,6 +181,8 @@ string_capabilities = { 'kind': r'\E[1;2B', # Restore cursor 'rc': r'\E8', + # Repeat preceding character + 'rep': r'%p1%c\E[%p2%{1}%-%db', # Reverse video 'rev': r'\E[7m', # Scroll backwards the specified number of lines (reverse index) @@ -347,6 +349,7 @@ termcap_aliases.update({ 'kR': 'kri', 'kF': 'kind', 'rc': 'rc', + 'rp': 'rep', 'mr': 'rev', 'sr': 'ri', 'SR': 'rin', diff --git a/terminfo/kitty.terminfo b/terminfo/kitty.terminfo index b80645367..c5ca815cc 100644 --- a/terminfo/kitty.terminfo +++ b/terminfo/kitty.terminfo @@ -204,6 +204,7 @@ xterm-kitty|KovIdTTY, oc=\E]104\007, op=\E[39;49m, rc=\E8, + rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rin=\E[%p1%dT, diff --git a/terminfo/x/xterm-kitty b/terminfo/x/xterm-kitty index e3d798eed..378be2c5c 100644 Binary files a/terminfo/x/xterm-kitty and b/terminfo/x/xterm-kitty differ