cburschka / cadence

A strophe.js-powered XMPP web client for chatrooms.
6 stars 2 forks source link

Make the command history slightly more accessible. #453

Closed cburschka closed 7 years ago

cburschka commented 7 years ago

Right now, Ctrl+Arrow is needed to navigate the chat history. This is, of course, to avoid problems with multi-line messages, where the regular arrow key behavior shouldn't be overridden.

Yet arrow-keys naturally stop working at the beginning and end of the entered text.

It would be feasible to trigger the history-up and history-down actions either if Ctrl is pressed or if the cursor cannot move any further.

But I'm not sure if that behavior would be intuitive.

cburschka commented 7 years ago

This is actually really, really convenient.