Go to file
hant 7c103d7209 Optimize frontend terminal rendering and remove unnecessary screen clears
- Removed terminal.clear() calls that were clearing screen on every output
  update, letting the game process control the display
- Added letterSpacing: 0 to xterm.js config to disable automatic spacing
  adjustments that were creating unwanted span tags
- Improved font family to 'Source Code Pro' for better handling of CJK
  characters and monospace alignment
- Added lineHeight adjustment (1.2) for better vertical spacing
- Enabled allowProposedApi for access to additional xterm.js features
- Game process output is now properly displayed without formatting artifacts

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-07 14:30:20 +08:00
.idea Fix web state management: handleInput now returns structured data 2025-12-07 13:14:48 +08:00
bin 法术 2025-12-02 23:13:38 +08:00
src Fix event loop initialization and handle pipe errors 2025-12-07 14:17:28 +08:00
test Implement Server-Sent Events (SSE) for real-time battle streaming 2025-12-07 10:50:30 +08:00
web Optimize frontend terminal rendering and remove unnecessary screen clears 2025-12-07 14:30:20 +08:00
.DS_Store first 2025-12-05 09:38:15 +08:00
.gitignore 技能优化 2025-12-05 17:38:10 +08:00
box.json first 2025-12-01 18:13:15 +08:00
build-phar.php first 2025-12-01 18:13:15 +08:00
build.sh first 2025-12-01 18:13:15 +08:00
composer.json Implement WebSocket real-time communication for game 2025-12-07 12:21:30 +08:00
composer.lock Implement WebSocket real-time communication for game 2025-12-07 12:21:30 +08:00
save.json Fix event loop initialization and handle pipe errors 2025-12-07 14:17:28 +08:00
start-server.sh first 2025-12-01 18:13:15 +08:00
test-websocket.php Fix event loop initialization and handle pipe errors 2025-12-07 14:17:28 +08:00
websocket-process-server.php Fix event loop initialization and handle pipe errors 2025-12-07 14:17:28 +08:00
websocket-server.php Implement WebSocket real-time communication for game 2025-12-07 12:21:30 +08:00