toaruos/util/toaru.terminfo
Kevin Lange 54d418cd8b First pass at modifier+arrows in terminal.
This is kinda rough and needs a finishing touch.

- Adds ncurses-specific terminfo entries for modifiers.
- Supports modifiers in the terminal itself.
- Updates the vim config to understand ctrl-arrows.
- Adds limited support for some modifiers in lib/kbd
  (as used by rline)
- Adds limited support for Ctrl+Arrows to rline
  (needs major improvements, only jumps to spaces)
2015-11-09 17:24:51 -08:00

90 lines
1.4 KiB
Plaintext

toaru|toaru terminal,
mc5i,
xenl,
km,
mir,
msgr,
cols#80, lines#24,
colors#256, it#8, ncv#18, pairs#32767, npc, am,
ind=^J, cr=^M,
nel=^J, ht=^I,
cud1=^J,
cuf1=\E[C,
cuu1=\E[A,
cub1=^H,
home=\E[H, clear=\E[H\E[2J,
hpa=\E[%i%p1%dG,
cup=\E[%i%p1%d;%p2%dH,
ed=\E[J, el=\E[K,
setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
setb@,
setf@,
rev=\E[7m, sgr0=\E[0m,
smso=\E[7m, rmso=\E[m,
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
op=\E[39;49m,
bold=\E[1m,
kcuu1=\E[A,
kcud1=\E[B,
kcuf1=\E[C,
kcub1=\E[D,
kent=\E0M,
cuu=\E[%p1%dA,
cud=\E[%p1%dB,
cuf=\E[%p1%dC,
cub=\E[%p1%dD,
indn=\E[%p1%dS,
rin=\E[%p1%dT,
ri=\E[T,
sc=\E[s,
rc=\E[u,
knp=\E[6~,
kpp=\E[5~,
kf1=\EOP,
kf2=\EOQ,
kf3=\EOR,
kf4=\EOS,
kf5=\E[15~,
kf6=\E[17~,
kf7=\E[18~,
kf8=\E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