(nameWidth: number)
| 156 | const BUBBLE_WIDTH = 36; // SpeechBubble box (34) + tail column |
| 157 | const NARROW_QUIP_CAP = 24; |
| 158 | function spriteColWidth(nameWidth: number): number { |
| 159 | return Math.max(SPRITE_BODY_WIDTH, nameWidth + NAME_ROW_PAD); |
| 160 | } |
| 161 | |
| 162 | // Width the sprite area consumes. PromptInput subtracts this so text wraps |
| 163 | // correctly. In fullscreen the bubble floats over scrollback (no extra |
no test coverage detected