an infinite-canvas terminal multiplexer using gpui

tarp: chat beside the cursor #7

Closed eti.tf
targeting op/kmwmtpnqoxwu from eti.tf/tarp:eti/cursor-chat
Closed opened by and assigned to eti.tf
targeting op/kmwmtpnqoxwu from eti.tf/tarp:eti/cursor-chat

press / on the canvas to type a short message that shows under your cursor for the other people on the canvas. enter sends it and keeps the bubble open for the next one; the sent message stays until you start typing again. six seconds after the last key the bubble fades out over three seconds, for you and for the people watching. escape or a click closes it. cmd-a or ctrl-a selects the message, the arrow keys move the caret (option by word, cmd to either end, shift to select), backspace and delete take a char, a word with option or up to either end with cmd, and cmd-c, cmd-x and cmd-v copy, cut and paste. the bubble stays on one line and takes no more text once it is full. the message rides along with the numbered cursor move, so this bumps the wire protocol from 2 to 3: a client and a daemon on different versions cannot talk. based on op/kmwmtpnqoxwu.

Commits 0