diff --git a/core/color_codes.js b/core/color_codes.js index 591b7862..1efbb071 100644 --- a/core/color_codes.js +++ b/core/color_codes.js @@ -47,9 +47,7 @@ function enigmaToAnsi(s, client) { // ENiGMA MCI code? Only available if |client| // is supplied. // - console.log('attempting to resolve ' + m[1]) val = getPredefinedMCIValue(client, m[1]) || ('|' + m[1]); // value itself or literal - console.log(val) } if(_.isString(val)) { diff --git a/mods/menu.hjson b/mods/menu.hjson index d8cc932a..c6d28715 100644 --- a/mods/menu.hjson +++ b/mods/menu.hjson @@ -532,15 +532,15 @@ }, */ { - "keys" : [ "P", "p" ], + "keys" : [ "p", "shift + p" ], "action" : "@method:prevMessage" }, { - "keys" : [ "N", "n" ], + "keys" : [ "n", "shift + n" ], "action" : "@method:nextMessage" }, { - "keys" : [ "escape", "Q", "q" ], + "keys" : [ "escape", "q", "shift + q" ], "action" : "@menu:messageArea" }, { @@ -556,55 +556,48 @@ "status" : "Posting message", "module" : "msg_area_post_fse", "fallback" : "messageArea", // :TODO: remove once default fallback is in place - "config" : { - "art" : { - "header" : "msg_area_post_header", - "body" : "demo_fse_netmail_body.ans", - "footerEditor" : "demo_fse_netmail_footer_edit.ans", - "footerEditorMenu" : "demo_fse_netmail_footer_edit_menu.ans", - "footerView" : "demo_fse_netmail_footer_view.ans", - "help" : "demo_fse_netmail_help.ans" + config: { + art: { + header: MSGEHDR + body: demo_fse_netmail_body.ans + footerEditor: MSGEFTR + footerEditorMenu: MSGEMFT + footerView: demo_fse_netmail_footer_view.ans + help: demo_fse_netmail_help.ans }, - "editorMode" : "edit", - "editorType" : "area" + editorMode: edit + editorType: area }, "form" : { "0" : { - "ETETTL" : { - "mci" : { - "TL1" : { - "width" : 36, - "argName" : "from" - }, - "ET2" : { - "width" : 36, - "argName" : "to", - "focus" : true - }, - "ET3" : { - "width" : 65, - "argName" : "subject", - "maxLength" : 72, - "submit" : true - }, - "MA5" : { - "width" : 19, - "textOverflow" : "..." - } - /*, - "TL4" : { - "width" : 19, - "textOverflow" : "..." - }*/ - }, - "submit" : { - "3" : [ - { - "value" : { "subject" : null }, - "action" : "@method:headerSubmit" - } - ] + mci: { + TL1: { + width: 27 + argName: from } + ET2: { + width: 27 + argName: to + focus: true + } + "ET3" : { + "width" : 27, + "argName" : "subject", + "maxLength" : 72, + "submit" : true + }, + "MA5" : { + "width" : 27, + "textOverflow" : "..." + } + }, + "submit" : { + "3" : [ + { + "value" : { "subject" : null }, + "action" : "@method:headerSubmit" + } + ] } }, "1" : { @@ -963,7 +956,7 @@ "height" : 17, //"text" : "@art:demo_multi_line_edit_text_view_text.txt", // "text" : "@systemMethod:textFromFile" - "text" : "Hints:\n\t* Insert / CTRL-V toggles overtype mode\n\t* CTRL-Y deletes the current line\n\t* Try Page Up / Page Down\n\t* Home goes to the start of line text\n\t* End goes to the end of a line\n\n\nTab handling:\n-------------------------------------------------\n\tA\tB\tC\tD\tE\tF\nA\tB\tC\tD\tE\tF\tG\tH\n\tA\tB\tC\tD\tE\tF\nA\tB\tC\tD\tE\tF\tG\tH\nA0\tBB\t1\tCCC\t2\tDDD\t3EEEE\nW\t\tX\t\tY\t\tZ\n\nAn excerpt from A Clockwork Orange:\n\"What sloochatted then, of course, was that my cellmates woke up and started joining in, tolchocking a bit wild in the near-dark, and the shoom seemed to wake up the whole tier, so that you could slooshy a lot of creeching and banging about with tin mugs on the wall, as though all the plennies in all the cells thought a big break was about to commence, O my brothers.\n", + text: "Hints:\n\t* Insert / CTRL-V toggles overtype mode\n\t* CTRL-Y deletes the current line\n\t* Try Page Up / Page Down\n\t* Home goes to the start of line text\n\t* End goes to the end of a line\n\n\nTab handling:\n-------------------------------------------------\n\tA\tB\tC\tD\tE\tF\nA\tB\tC\tD\tE\tF\tG\tH\n\tA\tB\tC\tD\tE\tF\nA\tB\tC\tD\tE\tF\tG\tH\nA0\tBB\t1\tCCC\t2\tDDD\t3EEEE\nW\t\tX\t\tY\t\tZ\n\nAn excerpt from A Clockwork Orange:\n\"What sloochatted then, of course, was that my cellmates woke up and started joining in, tolchocking a bit wild in the near-dark, and the shoom seemed to wake up the whole tier, so that you could slooshy a lot of creeching and banging about with tin mugs on the wall, as though all the plennies in all the cells thought a big break was about to commence, O my brothers.\n", "focus" : true }, "BT5" : { diff --git a/mods/themes/NU-MAYA/MSGEFTR1.ANS b/mods/themes/NU-MAYA/MSGEFTR1.ANS new file mode 100644 index 00000000..29582329 Binary files /dev/null and b/mods/themes/NU-MAYA/MSGEFTR1.ANS differ diff --git a/mods/themes/NU-MAYA/MSGEHDR1.ANS b/mods/themes/NU-MAYA/MSGEHDR1.ANS new file mode 100644 index 00000000..6e910e58 Binary files /dev/null and b/mods/themes/NU-MAYA/MSGEHDR1.ANS differ diff --git a/mods/themes/NU-MAYA/MSGEMFT1.ANS b/mods/themes/NU-MAYA/MSGEMFT1.ANS new file mode 100644 index 00000000..6c334204 Binary files /dev/null and b/mods/themes/NU-MAYA/MSGEMFT1.ANS differ