From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: ncurses windowing out-of-tree
Date: Sun, 16 Sep 2007 10:39:15 -0400 [thread overview]
Message-ID: <20070916143915.GA21924@scowler.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
This has all of the problems of 22383, plus more. For one thing,
zncurses_wadd_wchstr doesn't seem to work, and actually using multibyte
characters with zncurses_wadd_wch seems to confuse ncurses's character
counts. Maybe that's a side-effect of having zsh linked against
libncurses and this module linked against libncursesw or maybe it's just
plain broken.
Technically, you could use regular X/Open curses (as long as you've got
wide character support)
Sample usage:
--8<--
zmodload zncurses
zncurses_newwin 10 10 10 10 5
zncurses_wborder 5
zncurses_wmove 5 1 1
zncurses_wadd_wch 5 B
zncurses_wadd_wch 5 l
zncurses_wadd_wch 5 a
zncurses_wadd_wch 5 h
zncurses_wrefresh 5
sleep 5
--8<--
Help making this usable is welcome.
[-- Attachment #2: zncurses-0.0.tar.gz --]
[-- Type: application/octet-stream, Size: 259079 bytes --]
reply other threads:[~2007-09-17 1:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070916143915.GA21924@scowler.net \
--to=clint@zsh.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).