edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [edbrowse-dev] spurious empty buffers from textareas
@ 2019-01-09 12:18 Karl Dahlke
  2019-01-09 12:42 ` Chuck Hallenbeck
  2019-01-09 17:53 ` Tyler Spivey
  0 siblings, 2 replies; 4+ messages in thread
From: Karl Dahlke @ 2019-01-09 12:18 UTC (permalink / raw)
  To: edbrowse-dev

These have annoyed me for quite a while, and come to find they annoy others as well.
As per our chat discussions, I made a change, but it's a UI change so should be described here.
(Not everyone is on chat.)

A fill out form with a textarea use to allocate a buffer for that area at browse time, looking like <buffer 7>
It now waits to see if you're actually going to use it, since 90% of the time you don't.
It begins life as <buffer ?>

An itext (for input text) command  allocates a buffer and changes it to <buffer 7>
Then you can write text in buffer 7 and submit the form like before.
It's one more step for something that is rarely done,
but it prevents a ton of empty buffers from accumulating.

I have no strong feelings about the actual command name.

itext (input text)
ibuf (input buffer)
iw (input write)
ita (input textarea)

Long as it starts with i I'm ok.

If you change line 760 in decorate.c the old behavior returns.

I'm not documenting any of this until a majority thinks it's a good idea.
My vote is yes but others may disagree.

Karl Dahlke

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-10  0:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-09 12:18 [edbrowse-dev] spurious empty buffers from textareas Karl Dahlke
2019-01-09 12:42 ` Chuck Hallenbeck
2019-01-09 17:53 ` Tyler Spivey
2019-01-10  0:15   ` Dominique Martinet

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