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 7 years ago
parent
commit
6d48b706c3
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      Makefile
  2. +2
    -1
      termite.terminfo

+ 1
- 1
Makefile View File

@ -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


+ 2
- 1
termite.terminfo View File

@ -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