diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-08-28 14:03:38 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 18:17:03 +0200 |
commit | f79a6f65acde9753ea65887e0e0d4bc7f76ff52b (patch) | |
tree | 6c7b266871110fd56e5738555b906f5f8b609acc /TODO | |
parent | 4c6b6814abfc9c022c6ea8d1e23097c2a774fde5 (diff) | |
download | sciteco-f79a6f65acde9753ea65887e0e0d4bc7f76ff52b.tar.gz |
prefer libncursesw (widechar variant) (refs #5)
* Some platforms like Ubuntu actually ship widechar and non-widechar versions
of ncurses with different pkg-config files.
Other platforms like FreeBSD will ship an "ncursesw" and "ncurses" pkg-config file
but both point to the same wide-char library anyway.
* Currently we are not using wide-char APIs to ensure maximum compatibility even with
embedded systems where ncurses might be built without widechar support.
But in order to handle Unicode correctly, we still need to link against the widechar version
of ncurses (if available).
* Compilation on platforms without a widechar ncurses is now handled by the common
AC_CHECK_LIB() fallback (which might actually find a widechar version anyway if it just
didn't install the pkg-config file).
If necessary, we could also check for the "ncurses" package if "ncursesw" is not found.
* This fixes Unicode display and input on Ubuntu.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -313,7 +313,6 @@ Features: be a special TAB-completion (^G mode?) that completes only buffers in the ring. It should also display the numeric buffer ids. * properly support Unicode encodings and the character-based model - * link against libncursesw if possible * translate documents to Unicode strings * a position refers to a character/codepoint * Progress indication in commandline cursor: @@ -526,4 +525,5 @@ Documentation: * Write some tutorials for the Wiki, e.g. about paragraph reflowing... Object-oriented SciTECO ideoms etc. ;-) - * Record a "video" on https://asciinema.org/ + * What to do with `--xembed`: tabbed, st + when used as the git editor, etc. |