summaryrefslogtreecommitdiff
path: root/Tcaps
blob: a2ef67e279ff7a3985f0790a33c2e0cedf235eb1 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/zsh
#
#  + right arrow (>)
#  , left arrow (<)
#  . down arrow (v)
#  0 full square (#)
#  I lantern (#)
#  - upper arrow (^)
#  ' rhombus (+)
#  a chess board (:)
#  f degree (')
#  g plus-minus (#)
#  h square (#)
#  j right bottom corner (+)
#  k right upper corner (+)
#  l left upper corner (+)
#  m left bottom corner (+)
_tj_=${${has_termcaps:+"j"}:-"'"}
_tk_=${${has_termcaps:+"k"}:-"."}
_tl_=${${has_termcaps:+"l"}:-","}
_tm_=${${has_termcaps:+"m"}:-"\`"}
#  n cross (+)
#  o upper horizontal line (-)
#  q middle horizontal line (-)
_tq_=${${has_termcaps:+"q"}:-"-"}
#  s bottom horizontal line (_)
#  t left tee (+)
#  u right tee (+)
_tt_=${${has_termcaps:+"t"}:-"]"}
_tu_=${${has_termcaps:+"u"}:-"["}
#  v bottom tee (+)
#  w normal tee (+)
#  x vertical line (|)
_tx_=${${has_termcaps:+"x"}:-"|"}
#  ~ paragraph (???)



T_=${has_termcaps:+$termcap[as]}
_T=${has_termcaps:+$termcap[ae]}