edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [edbrowse-dev] toggle or explicit
@ 2018-04-26 10:52 Karl Dahlke
  0 siblings, 0 replies; only message in thread
From: Karl Dahlke @ 2018-04-26 10:52 UTC (permalink / raw)
  To: edbrowse-dev

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

We batted this about on the chat group, but it's a significant UI change so should be addressed here as well.

I was wondering if scripts would run easier with swrap and snowrap to explicitly enable and disable search with wrap, rather than a togle, which is state dependent. Or maybe swrap1 and swrap0.
Then a script could set it or clear it and know where we stand.
Some commands like ci and cs are explicit, others are toggle. There are pros and cons. The entire gestalt is inconsistent however.
So another idea is to redo everything in a consistent fashion: foo is a toggle, foo1 enables, foo0 disables.
It's a significant change to the UI, but might be worth it.
Someone suggested foo=1 or foo=on to enable, but edbrowse is all about speed, and minimal typing, in the fine tradition of ls because we're too damn lazy to type list.
I think people could quickly get use to foo1 and foo0.
Another possibility is foo+ and foo-.

Karl Dahlke

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

only message in thread, other threads:[~2018-04-26 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26 10:52 [edbrowse-dev] toggle or explicit Karl Dahlke

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