From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] [PATCH] use offscreen lines for textfield overflow
Date: Wed, 26 Nov 2008 16:33:33 -0800 [thread overview]
Message-ID: <1227745956-sup-4988@entry> (raw)
In-Reply-To: <1227473953-sup-5646@sgoldmanlinux.tower-research.com>
Reformatted excerpts from Steve Goldman's message of 2008-11-23:
> In the To:, Cc:, Bcc:, etc., prompts, the TextField was initializing
> an NCurses form with zero offscreen lines. So when the user typed too
> many addresses at the prompt the cursor wrapped around and everything
> they had typed was clobbered. This patch initializes the form object
> to have 256 offscreen lines (I had no rationale for 256 except that it
> is a nice, big power of two). Now the user can type plenty of names
> and the wrap-around works as the user would expect.
This is awesome. I've been trying to figure out how to do this for about
two years. Thanks!
--
William <wmorgan-sup at masanjin.net>
prev parent reply other threads:[~2008-11-27 0:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-23 20:59 Steve Goldman
2008-11-27 0:33 ` William Morgan [this message]
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=1227745956-sup-4988@entry \
--to=wmorgan-sup@masanjin.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox