@mingxy/opencode-mascot 0.3.5 → 0.3.7

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.5",
3
+ "version": "0.3.7",
4
4
  "description": "OpenCode TUI mascot plugin framework - customizable ASCII mascots for your terminal",
5
5
  "author": "mingxy",
6
6
  "license": "MIT",
@@ -49,8 +49,10 @@ 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
- zIndex={100}
55
+ zIndex={9999}
54
56
  flexDirection="column"
55
57
  ref={(node: any) => { boxRef = node; }}
56
58
  onMouseDown={(e: any) => {
@@ -186,7 +186,7 @@ export function SidebarMascot(props: SidebarMascotProps): JSX.Element {
186
186
  left={posX()}
187
187
  top={posY()}
188
188
  alignItems="center"
189
- zIndex={100}
189
+ zIndex={9999}
190
190
  flexDirection="column"
191
191
  ref={(node: any) => {
192
192
  if (node) {
@@ -320,7 +320,7 @@ export function createAnimatedRenderer(pack: MascotPack): {
320
320
  {dm ? <text fg="#FF4081">{dm}</text> : null}
321
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>