@mingxy/opencode-mascot 0.3.4 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mingxy/opencode-mascot",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "OpenCode TUI mascot plugin framework - customizable ASCII mascots for your terminal",
5
5
  "author": "mingxy",
6
6
  "license": "MIT",
@@ -49,6 +49,8 @@ export function HomeMascot(props: HomeMascotProps): JSX.Element {
49
49
 
50
50
  return (
51
51
  <box
52
+ height={6}
53
+ width={16}
52
54
  alignItems="center"
53
55
  zIndex={100}
54
56
  flexDirection="column"
@@ -318,9 +318,9 @@ export function createAnimatedRenderer(pack: MascotPack): {
318
318
  <box flexDirection="column" left={left} top={top}>
319
319
  {cel ? <text fg={flashColor() ?? fg}>{cel.text}</text> : null}
320
320
  {dm ? <text fg="#FF4081">{dm}</text> : null}
321
- <box flexDirection="column">
321
+ <box flexDirection="column" alignItems="flex-start">
322
322
  {lines.map((line: string) => (
323
- <text fg={flashColor() ?? fg}>{line}</text>
323
+ <text fg={flashColor() ?? fg} selectable={false}>{line}</text>
324
324
  ))}
325
325
  </box>
326
326
  </box>