From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 26 Nov 2008 16:33:33 -0800 Subject: [sup-talk] [PATCH] use offscreen lines for textfield overflow In-Reply-To: <1227473953-sup-5646@sgoldmanlinux.tower-research.com> References: <1227473953-sup-5646@sgoldmanlinux.tower-research.com> Message-ID: <1227745956-sup-4988@entry> 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