Browse Source

Make ncurses recognize UTF8 support

Add the U8#1 option to the terminfo file, this is an extended option in
the terminfo specifying support for utf8 line graphics.

This fixes some issues with ncurses not rendering utf8 glpyhs for it's
extended ASCII set when termite supports utf8 just fine.
master
Evan Purkhiser 8 years ago
parent
commit
6d48b706c3
  1. 2
      Makefile
  2. 3
      termite.terminfo

2
Makefile

@ -41,7 +41,7 @@ install: termite termite.desktop termite.terminfo
install -Dm755 termite ${DESTDIR}${PREFIX}/bin/termite
install -Dm644 termite.desktop ${DESTDIR}${PREFIX}/share/applications/termite.desktop
install -Dm644 termite.1 ${DESTDIR}${PREFIX}/share/man/man1/termite.1
tic termite.terminfo -o ${DESTDIR}${TERMINFO}
tic -x termite.terminfo -o ${DESTDIR}${TERMINFO}
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/termite

3
termite.terminfo

@ -14,7 +14,8 @@ xterm-termite|VTE-based terminal,
it#8,
lines#24,
pairs#32767,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
U8#1,
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G,
bold=\E[1m,
cbt=\E[Z,

Loading…
Cancel
Save