From 63c37ed08b04b98ef57415a9b148e7ea57b64b7f Mon Sep 17 00:00:00 2001 From: echicken <> Date: Tue, 4 Sep 2012 21:12:34 +0000 Subject: [PATCH] Fix CTRL-A background colours. --- exec/load/funclib.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exec/load/funclib.js b/exec/load/funclib.js index edcd1f7d4a..07d1bf37ff 100644 --- a/exec/load/funclib.js +++ b/exec/load/funclib.js @@ -455,7 +455,6 @@ function logStamp(msg) t.last = now; } -// Convert pipe codes in 'str' to Synchronet CTRL-A codes function pipeToCtrlA(str) { str = str.replace(/\|00/g, "\1N\1K"); str = str.replace(/\|01/g, "\1N\1B"); @@ -484,7 +483,6 @@ function pipeToCtrlA(str) { return str; } -// Returns 'attr', which may be compared against colours defined in sbbsdefs.js function colorPicker(x, y, frame, attr) { var fgColours = [ @@ -547,6 +545,9 @@ function colorPicker(x, y, frame, attr) { palette.top(); pfgCursor.top(); pbgCursor.top(); + palette.center("Foreground: Left / Right"); + palette.gotoxy(1, 6); + palette.center("Background: Up / Down"); pfgCursor.putmsg("FG"); pbgCursor.putmsg("BG"); var userInput = ""; -- GitLab