bkad / prat

group chat with markdown served over websockets
11 stars 6 forks source link

pressing up goes through your chat history input #35

Closed bkad closed 11 years ago

bkad commented 12 years ago

detect if cursor is at the beginning of the message input. pressing up and down goes through your message history.

bkad commented 11 years ago

nice, I like it!

cespare commented 11 years ago

@mdietz any thoughts about what will happen after I've typed a shitload of messages and localstorage has megabytes of history in it?

bkad commented 11 years ago

we could just cap it at like 50 and rotate old ones out

mdietz commented 11 years ago

@bkad that was my plan, just haven't pushed the logic for that yet.

cespare commented 11 years ago

@mdietz nice.