From 51978efd4e30d0afb8bb926aa3c4102485320ba2 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Sat, 11 Aug 2012 21:30:12 -0700 Subject: [PATCH] Correct the clear sequence for srogue. rlgwebd sets TERM to xterm-256color, which uses CSI H CSI 2J to clear the screen. The description of srogue had been CSI H CSI J, which is the sequence for screen. --- rlgwebd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rlgwebd.js b/rlgwebd.js index d8301a0..ac952f2 100755 --- a/rlgwebd.js +++ b/rlgwebd.js @@ -52,7 +52,7 @@ var games = { "uname": "srogue", "suffix": ".srsav", "path": "/bin/srogue", - "clear": new Buffer([27, 91, 72, 27, 91, 74]) // CSI H CSI J + "clear": new Buffer([27, 91, 72, 27, 91, 50, 74]) // CSI H CSI 2J }, "arogue5": { "name": "Advanced Rogue 5",