/ go / test_kamaji_persistence.sh
test_kamaji_persistence.sh
 1  #!/bin/bash
 2  
 3  echo "Testing Kamaji character persistence in TUI..."
 4  echo "This will start the TUI briefly to verify Kamaji is always visible"
 5  
 6  # Start Kamaji TUI and send a test message, then quit
 7  (
 8      sleep 1
 9      echo "hello"
10      sleep 2
11      echo -e "\x03"  # Ctrl+C to quit
12  ) | timeout 10 ./bin/kamaji tui
13  
14  echo "Test completed. Check if Kamaji character was visible throughout the session."