monome / maiden

web based editor and repl for norns
GNU General Public License v3.0
47 stars 34 forks source link

autocorrect in norns REPL is counterproductive #209

Closed xmacex closed 3 years ago

xmacex commented 3 years ago

Autocorrect and autocapitalization for Maiden input text area are counterproductive, since they'll do a poor job for programming languages.

In the below, I've typed opz and pressed the space. Autocorrect turned it to plz. YMMV

Screenshot_20210603-031542

I figure adding autocorrect=off and autocapitalize=none to the ReplOnput component input text area would do it. Perhaps together with autocomplete=off too.

https://github.com/monome/maiden/blob/5bbb3693ff0cbc7f467e99ffd81dd65ee8bc3cd0/web/src/repl.js#L103

xmacex commented 3 years ago

Super. Just a little note that while autocapitalize takes values of off or none according to Mozilla, Apple considers off deprecated and wants none instead.

¯\(ツ)

I haven't checked a more authoritative source than Mozilla, and am an Android Chrome (Beta) use myself but i reckon there's Apple users among norns users. I don't know how Apple devices react to off.

Anyhow stay rad, stay safe, stay bleeping.

ngwese commented 3 years ago

I specifically tested on iOS and it seemed happy. No warnings and no capitals so I just ran with off