zsh-workers
 help / color / mirror / code / Atom feed
* ncurses windowing out-of-tree
@ 2007-09-16 14:39 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2007-09-16 14:39 UTC (permalink / raw)
  To: zsh-workers

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-17  1:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-16 14:39 ncurses windowing out-of-tree Clint Adams

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).