use out.push instead of o()
This commit is contained in:
parent
c1d9868b49
commit
6c6c652638
338
good
338
good
|
@ -289,342 +289,342 @@ Compiling maximum_windows: -1
|
|||
Compiling max_colors: 8
|
||||
Compiling max_pairs: 64
|
||||
Compiling back_tab: "\u001b[Z"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[Z");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[Z");return out.join("");
|
||||
Compiling bell: "\u0007"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("");return out.join("");
|
||||
Compiling carriage_return: "\r"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\
");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\
");return out.join("");
|
||||
Compiling change_scroll_region: "\u001b[%i%p1%d;%p2%dr"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(params[0]++, params[1]++),(stack.push(v = params[0]), v),o(stack.pop()),o(";"),(stack.push(v = params[1]), v),o(stack.pop()),o("r");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(params[0]++, params[1]++),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push(";"),(stack.push(v = params[1]), v),out.push(stack.pop()),out.push("r");return out.join("");
|
||||
Compiling clear_all_tabs: "\u001b[3g"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[3g");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[3g");return out.join("");
|
||||
Compiling clear_screen: "\u001b[H\u001b[2J"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[H\x1b[2J");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[H\x1b[2J");return out.join("");
|
||||
Compiling clr_eol: "\u001b[K"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[K");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[K");return out.join("");
|
||||
Compiling clr_eos: "\u001b[J"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[J");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[J");return out.join("");
|
||||
Compiling column_address: "\u001b[%i%p1%dG"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(params[0]++, params[1]++),(stack.push(v = params[0]), v),o(stack.pop()),o("G");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(params[0]++, params[1]++),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("G");return out.join("");
|
||||
Compiling cursor_address: "\u001b[%i%p1%d;%p2%dH"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(params[0]++, params[1]++),(stack.push(v = params[0]), v),o(stack.pop()),o(";"),(stack.push(v = params[1]), v),o(stack.pop()),o("H");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(params[0]++, params[1]++),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push(";"),(stack.push(v = params[1]), v),out.push(stack.pop()),out.push("H");return out.join("");
|
||||
Compiling cursor_down: "\n"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\
|
||||
");return out.join("");
|
||||
Compiling cursor_home: "\u001b[H"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[H");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[H");return out.join("");
|
||||
Compiling cursor_invisible: "\u001b[?25l"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?25l");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?25l");return out.join("");
|
||||
Compiling cursor_left: "\b"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("");return out.join("");
|
||||
Compiling cursor_normal: "\u001b[?12l\u001b[?25h"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?12l\x1b[?25h");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?12l\x1b[?25h");return out.join("");
|
||||
Compiling cursor_right: "\u001b[C"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[C");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[C");return out.join("");
|
||||
Compiling cursor_up: "\u001b[A"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[A");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[A");return out.join("");
|
||||
Compiling cursor_visible: "\u001b[?12;25h"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?12;25h");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?12;25h");return out.join("");
|
||||
Compiling delete_character: "\u001b[P"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[P");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[P");return out.join("");
|
||||
Compiling delete_line: "\u001b[M"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[M");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[M");return out.join("");
|
||||
Compiling enter_alt_charset_mode: "\u001b(0"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b(0");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b(0");return out.join("");
|
||||
Compiling enter_blink_mode: "\u001b[5m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[5m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[5m");return out.join("");
|
||||
Compiling enter_bold_mode: "\u001b[1m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1m");return out.join("");
|
||||
Compiling enter_ca_mode: "\u001b[?1049h"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?1049h");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?1049h");return out.join("");
|
||||
Compiling enter_insert_mode: "\u001b[4h"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[4h");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[4h");return out.join("");
|
||||
Compiling enter_secure_mode: "\u001b[8m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[8m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[8m");return out.join("");
|
||||
Compiling enter_reverse_mode: "\u001b[7m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[7m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[7m");return out.join("");
|
||||
Compiling enter_standout_mode: "\u001b[7m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[7m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[7m");return out.join("");
|
||||
Compiling enter_underline_mode: "\u001b[4m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[4m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[4m");return out.join("");
|
||||
Compiling erase_chars: "\u001b[%p1%dX"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("X");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("X");return out.join("");
|
||||
Compiling exit_alt_charset_mode: "\u001b(B"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b(B");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b(B");return out.join("");
|
||||
Compiling exit_attribute_mode: "\u001b(B\u001b[m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b(B\x1b[m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b(B\x1b[m");return out.join("");
|
||||
Compiling exit_ca_mode: "\u001b[?1049l"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?1049l");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?1049l");return out.join("");
|
||||
Compiling exit_insert_mode: "\u001b[4l"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[4l");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[4l");return out.join("");
|
||||
Compiling exit_standout_mode: "\u001b[27m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[27m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[27m");return out.join("");
|
||||
Compiling exit_underline_mode: "\u001b[24m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[24m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[24m");return out.join("");
|
||||
Compiling flash_screen: "\u001b[?5h$<100/>\u001b[?5l"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?5h$<100/>\x1b[?5l");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?5h$<100/>\x1b[?5l");return out.join("");
|
||||
Compiling init_2string: "\u001b[!p\u001b[?3;4l\u001b[4l\u001b>"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[!p\x1b[?3;4l\x1b[4l\x1b>");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[!p\x1b[?3;4l\x1b[4l\x1b>");return out.join("");
|
||||
Compiling insert_line: "\u001b[L"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[L");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[L");return out.join("");
|
||||
Compiling key_backspace: "\b"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("");return out.join("");
|
||||
Compiling key_dc: "\u001b[3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[3~");return out.join("");
|
||||
Compiling key_down: "\u001bOB"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOB");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOB");return out.join("");
|
||||
Compiling key_f1: "\u001bOP"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOP");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOP");return out.join("");
|
||||
Compiling key_f10: "\u001b[21~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[21~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[21~");return out.join("");
|
||||
Compiling key_f2: "\u001bOQ"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOQ");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOQ");return out.join("");
|
||||
Compiling key_f3: "\u001bOR"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOR");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOR");return out.join("");
|
||||
Compiling key_f4: "\u001bOS"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOS");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOS");return out.join("");
|
||||
Compiling key_f5: "\u001b[15~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[15~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[15~");return out.join("");
|
||||
Compiling key_f6: "\u001b[17~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[17~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[17~");return out.join("");
|
||||
Compiling key_f7: "\u001b[18~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[18~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[18~");return out.join("");
|
||||
Compiling key_f8: "\u001b[19~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[19~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[19~");return out.join("");
|
||||
Compiling key_f9: "\u001b[20~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[20~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[20~");return out.join("");
|
||||
Compiling key_home: "\u001bOH"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOH");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOH");return out.join("");
|
||||
Compiling key_ic: "\u001b[2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[2~");return out.join("");
|
||||
Compiling key_left: "\u001bOD"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOD");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOD");return out.join("");
|
||||
Compiling key_npage: "\u001b[6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[6~");return out.join("");
|
||||
Compiling key_ppage: "\u001b[5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[5~");return out.join("");
|
||||
Compiling key_right: "\u001bOC"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOC");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOC");return out.join("");
|
||||
Compiling key_sf: "\u001b[1;2B"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2B");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2B");return out.join("");
|
||||
Compiling key_sr: "\u001b[1;2A"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2A");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2A");return out.join("");
|
||||
Compiling key_up: "\u001bOA"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOA");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOA");return out.join("");
|
||||
Compiling keypad_local: "\u001b[?1l\u001b>"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?1l\x1b>");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?1l\x1b>");return out.join("");
|
||||
Compiling keypad_xmit: "\u001b[?1h\u001b="
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?1h\x1b=");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?1h\x1b=");return out.join("");
|
||||
Compiling meta_off: "\u001b[?1034l"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?1034l");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?1034l");return out.join("");
|
||||
Compiling meta_on: "\u001b[?1034h"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?1034h");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?1034h");return out.join("");
|
||||
Compiling parm_dch: "\u001b[%p1%dP"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("P");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("P");return out.join("");
|
||||
Compiling parm_delete_line: "\u001b[%p1%dM"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("M");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("M");return out.join("");
|
||||
Compiling parm_down_cursor: "\u001b[%p1%dB"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("B");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("B");return out.join("");
|
||||
Compiling parm_ich: "\u001b[%p1%d@"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("@");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("@");return out.join("");
|
||||
Compiling parm_index: "\u001b[%p1%dS"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("S");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("S");return out.join("");
|
||||
Compiling parm_insert_line: "\u001b[%p1%dL"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("L");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("L");return out.join("");
|
||||
Compiling parm_left_cursor: "\u001b[%p1%dD"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("D");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("D");return out.join("");
|
||||
Compiling parm_right_cursor: "\u001b[%p1%dC"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("C");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("C");return out.join("");
|
||||
Compiling parm_rindex: "\u001b[%p1%dT"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("T");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("T");return out.join("");
|
||||
Compiling parm_up_cursor: "\u001b[%p1%dA"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(stack.push(v = params[0]), v),o(stack.pop()),o("A");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("A");return out.join("");
|
||||
Compiling print_screen: "\u001b[i"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[i");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[i");return out.join("");
|
||||
Compiling prtr_off: "\u001b[4i"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[4i");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[4i");return out.join("");
|
||||
Compiling prtr_on: "\u001b[5i"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[5i");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[5i");return out.join("");
|
||||
Compiling reset_1string: "\u001bc"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bc");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bc");return out.join("");
|
||||
Compiling reset_2string: "\u001b[!p\u001b[?3;4l\u001b[4l\u001b>"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[!p\x1b[?3;4l\x1b[4l\x1b>");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[!p\x1b[?3;4l\x1b[4l\x1b>");return out.join("");
|
||||
Compiling restore_cursor: "\u001b8"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b8");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b8");return out.join("");
|
||||
Compiling row_address: "\u001b[%i%p1%dd"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(params[0]++, params[1]++),(stack.push(v = params[0]), v),o(stack.pop()),o("d");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(params[0]++, params[1]++),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("d");return out.join("");
|
||||
Compiling save_cursor: "\u001b7"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b7");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b7");return out.join("");
|
||||
Compiling scroll_forward: "\n"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\
|
||||
");return out.join("");
|
||||
Compiling scroll_reverse: "\u001bM"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bM");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bM");return out.join("");
|
||||
Compiling set_attributes: "%?%p9%t\u001b(0%e\u001b(B%;\u001b[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a};if ((stack.push(v = params[8]), v)) {o("\x1b(0")} else {o("\x1b(B")}o("\x1b[0");if ((stack.push(v = params[5]), v)) {o(";1")};if ((stack.push(v = params[1]), v)) {o(";4")};if ((stack.push(v = params[0]), v),(stack.push(v = params[2]), v),(stack.push(v = (stack.pop() | stack.pop())), v)) {o(";7")};if ((stack.push(v = params[3]), v)) {o(";5")};if ((stack.push(v = params[6]), v)) {o(";8")}o("m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];;if ((stack.push(v = params[8]), v)) {out.push("\x1b(0")} else {out.push("\x1b(B")}out.push("\x1b[0");if ((stack.push(v = params[5]), v)) {out.push(";1")};if ((stack.push(v = params[1]), v)) {out.push(";4")};if ((stack.push(v = params[0]), v),(stack.push(v = params[2]), v),(stack.push(v = (stack.pop() | stack.pop())), v)) {out.push(";7")};if ((stack.push(v = params[3]), v)) {out.push(";5")};if ((stack.push(v = params[6]), v)) {out.push(";8")}out.push("m");return out.join("");
|
||||
Compiling set_tab: "\u001bH"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bH");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bH");return out.join("");
|
||||
Compiling tab: "\t"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o(" ");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push(" ");return out.join("");
|
||||
Compiling key_b2: "\u001bOE"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOE");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOE");return out.join("");
|
||||
Compiling acs_chars: "``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~");return out.join("");
|
||||
Compiling key_btab: "\u001b[Z"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[Z");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[Z");return out.join("");
|
||||
Compiling enter_am_mode: "\u001b[?7h"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?7h");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?7h");return out.join("");
|
||||
Compiling exit_am_mode: "\u001b[?7l"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?7l");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?7l");return out.join("");
|
||||
Compiling key_end: "\u001bOF"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOF");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOF");return out.join("");
|
||||
Compiling key_enter: "\u001bOM"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bOM");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bOM");return out.join("");
|
||||
Compiling key_sdc: "\u001b[3;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[3;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[3;2~");return out.join("");
|
||||
Compiling key_send: "\u001b[1;2F"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2F");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2F");return out.join("");
|
||||
Compiling key_shome: "\u001b[1;2H"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2H");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2H");return out.join("");
|
||||
Compiling key_sic: "\u001b[2;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[2;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[2;2~");return out.join("");
|
||||
Compiling key_sleft: "\u001b[1;2D"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2D");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2D");return out.join("");
|
||||
Compiling key_snext: "\u001b[6;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[6;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[6;2~");return out.join("");
|
||||
Compiling key_sprevious: "\u001b[5;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[5;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[5;2~");return out.join("");
|
||||
Compiling key_sright: "\u001b[1;2C"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2C");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2C");return out.join("");
|
||||
Compiling key_f11: "\u001b[23~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[23~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[23~");return out.join("");
|
||||
Compiling key_f12: "\u001b[24~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[24~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[24~");return out.join("");
|
||||
Compiling key_f13: "\u001b[1;2P"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2P");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2P");return out.join("");
|
||||
Compiling key_f14: "\u001b[1;2Q"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2Q");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2Q");return out.join("");
|
||||
Compiling key_f15: "\u001b[1;2R"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2R");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2R");return out.join("");
|
||||
Compiling key_f16: "\u001b[1;2S"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;2S");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;2S");return out.join("");
|
||||
Compiling key_f17: "\u001b[15;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[15;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[15;2~");return out.join("");
|
||||
Compiling key_f18: "\u001b[17;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[17;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[17;2~");return out.join("");
|
||||
Compiling key_f19: "\u001b[18;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[18;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[18;2~");return out.join("");
|
||||
Compiling key_f20: "\u001b[19;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[19;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[19;2~");return out.join("");
|
||||
Compiling key_f21: "\u001b[20;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[20;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[20;2~");return out.join("");
|
||||
Compiling key_f22: "\u001b[21;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[21;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[21;2~");return out.join("");
|
||||
Compiling key_f23: "\u001b[23;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[23;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[23;2~");return out.join("");
|
||||
Compiling key_f24: "\u001b[24;2~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[24;2~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[24;2~");return out.join("");
|
||||
Compiling key_f25: "\u001b[1;5P"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;5P");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;5P");return out.join("");
|
||||
Compiling key_f26: "\u001b[1;5Q"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;5Q");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;5Q");return out.join("");
|
||||
Compiling key_f27: "\u001b[1;5R"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;5R");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;5R");return out.join("");
|
||||
Compiling key_f28: "\u001b[1;5S"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;5S");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;5S");return out.join("");
|
||||
Compiling key_f29: "\u001b[15;5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[15;5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[15;5~");return out.join("");
|
||||
Compiling key_f30: "\u001b[17;5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[17;5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[17;5~");return out.join("");
|
||||
Compiling key_f31: "\u001b[18;5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[18;5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[18;5~");return out.join("");
|
||||
Compiling key_f32: "\u001b[19;5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[19;5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[19;5~");return out.join("");
|
||||
Compiling key_f33: "\u001b[20;5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[20;5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[20;5~");return out.join("");
|
||||
Compiling key_f34: "\u001b[21;5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[21;5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[21;5~");return out.join("");
|
||||
Compiling key_f35: "\u001b[23;5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[23;5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[23;5~");return out.join("");
|
||||
Compiling key_f36: "\u001b[24;5~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[24;5~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[24;5~");return out.join("");
|
||||
Compiling key_f37: "\u001b[1;6P"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;6P");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;6P");return out.join("");
|
||||
Compiling key_f38: "\u001b[1;6Q"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;6Q");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;6Q");return out.join("");
|
||||
Compiling key_f39: "\u001b[1;6R"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;6R");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;6R");return out.join("");
|
||||
Compiling key_f40: "\u001b[1;6S"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;6S");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;6S");return out.join("");
|
||||
Compiling key_f41: "\u001b[15;6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[15;6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[15;6~");return out.join("");
|
||||
Compiling key_f42: "\u001b[17;6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[17;6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[17;6~");return out.join("");
|
||||
Compiling key_f43: "\u001b[18;6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[18;6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[18;6~");return out.join("");
|
||||
Compiling key_f44: "\u001b[19;6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[19;6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[19;6~");return out.join("");
|
||||
Compiling key_f45: "\u001b[20;6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[20;6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[20;6~");return out.join("");
|
||||
Compiling key_f46: "\u001b[21;6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[21;6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[21;6~");return out.join("");
|
||||
Compiling key_f47: "\u001b[23;6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[23;6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[23;6~");return out.join("");
|
||||
Compiling key_f48: "\u001b[24;6~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[24;6~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[24;6~");return out.join("");
|
||||
Compiling key_f49: "\u001b[1;3P"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;3P");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;3P");return out.join("");
|
||||
Compiling key_f50: "\u001b[1;3Q"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;3Q");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;3Q");return out.join("");
|
||||
Compiling key_f51: "\u001b[1;3R"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;3R");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;3R");return out.join("");
|
||||
Compiling key_f52: "\u001b[1;3S"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;3S");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;3S");return out.join("");
|
||||
Compiling key_f53: "\u001b[15;3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[15;3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[15;3~");return out.join("");
|
||||
Compiling key_f54: "\u001b[17;3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[17;3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[17;3~");return out.join("");
|
||||
Compiling key_f55: "\u001b[18;3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[18;3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[18;3~");return out.join("");
|
||||
Compiling key_f56: "\u001b[19;3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[19;3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[19;3~");return out.join("");
|
||||
Compiling key_f57: "\u001b[20;3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[20;3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[20;3~");return out.join("");
|
||||
Compiling key_f58: "\u001b[21;3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[21;3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[21;3~");return out.join("");
|
||||
Compiling key_f59: "\u001b[23;3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[23;3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[23;3~");return out.join("");
|
||||
Compiling key_f60: "\u001b[24;3~"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[24;3~");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[24;3~");return out.join("");
|
||||
Compiling key_f61: "\u001b[1;4P"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;4P");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;4P");return out.join("");
|
||||
Compiling key_f62: "\u001b[1;4Q"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;4Q");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;4Q");return out.join("");
|
||||
Compiling key_f63: "\u001b[1;4R"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1;4R");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1;4R");return out.join("");
|
||||
Compiling clr_bol: "\u001b[1K"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[1K");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[1K");return out.join("");
|
||||
Compiling user6: "\u001b[%i%d;%dR"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b["),(params[0]++, params[1]++),o(stack.pop()),o(";"),o(stack.pop()),o("R");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b["),(params[0]++, params[1]++),out.push(stack.pop()),out.push(";"),out.push(stack.pop()),out.push("R");return out.join("");
|
||||
Compiling user7: "\u001b[6n"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[6n");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[6n");return out.join("");
|
||||
Compiling user8: "\u001b[?1;2c"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[?1;2c");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[?1;2c");return out.join("");
|
||||
Compiling user9: "\u001b[c"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[c");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[c");return out.join("");
|
||||
Compiling orig_pair: "\u001b[39;49m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[39;49m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[39;49m");return out.join("");
|
||||
Compiling set_foreground: "\u001b[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[3");if ((stack.push(v = params[0]), v),(stack.push(v = 1), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {o("4")} else if ((stack.push(v = params[0]), v),(stack.push(v = 3), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {o("6")} else if ((stack.push(v = params[0]), v),(stack.push(v = 4), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {o("1")} else if ((stack.push(v = params[0]), v),(stack.push(v = 6), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {o("3")} else {(stack.push(v = params[0]), v),o(stack.pop())}o("m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[3");if ((stack.push(v = params[0]), v),(stack.push(v = 1), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {out.push("4")} else if ((stack.push(v = params[0]), v),(stack.push(v = 3), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {out.push("6")} else if ((stack.push(v = params[0]), v),(stack.push(v = 4), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {out.push("1")} else if ((stack.push(v = params[0]), v),(stack.push(v = 6), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {out.push("3")} else {(stack.push(v = params[0]), v),out.push(stack.pop())}out.push("m");return out.join("");
|
||||
Compiling set_background: "\u001b[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[4");if ((stack.push(v = params[0]), v),(stack.push(v = 1), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {o("4")} else if ((stack.push(v = params[0]), v),(stack.push(v = 3), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {o("6")} else if ((stack.push(v = params[0]), v),(stack.push(v = 4), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {o("1")} else if ((stack.push(v = params[0]), v),(stack.push(v = 6), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {o("3")} else {(stack.push(v = params[0]), v),o(stack.pop())}o("m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[4");if ((stack.push(v = params[0]), v),(stack.push(v = 1), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {out.push("4")} else if ((stack.push(v = params[0]), v),(stack.push(v = 3), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {out.push("6")} else if ((stack.push(v = params[0]), v),(stack.push(v = 4), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {out.push("1")} else if ((stack.push(v = params[0]), v),(stack.push(v = 6), v),(stack.push(v = (stack.pop() === stack.pop())), v)) {out.push("3")} else {(stack.push(v = params[0]), v),out.push(stack.pop())}out.push("m");return out.join("");
|
||||
Compiling key_mouse: "\u001b[M"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[M");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[M");return out.join("");
|
||||
Compiling set_a_foreground: "\u001b[3%p1%dm"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[3"),(stack.push(v = params[0]), v),o(stack.pop()),o("m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[3"),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("m");return out.join("");
|
||||
Compiling set_a_background: "\u001b[4%p1%dm"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1b[4"),(stack.push(v = params[0]), v),o(stack.pop()),o("m");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1b[4"),(stack.push(v = params[0]), v),out.push(stack.pop()),out.push("m");return out.join("");
|
||||
Compiling memory_lock: "\u001bl"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bl");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bl");return out.join("");
|
||||
Compiling memory_unlock: "\u001bm"
|
||||
var v, dyn = {}, stat = {}, stack = [], out = []; function o(a){out.push(a);return a}o("\x1bm");return out.join("");
|
||||
var v, dyn = {}, stat = {}, stack = [], out = [];out.push("\x1bm");return out.join("");
|
||||
|
|
51
lib/tput.js
51
lib/tput.js
|
@ -319,22 +319,19 @@ Tput.prototype._compile = function(val) {
|
|||
return function() {};
|
||||
}
|
||||
|
||||
var code = 'var v, dyn = {}, stat = {}, stack = [], out = [];'
|
||||
, buff = ''
|
||||
, cap;
|
||||
|
||||
var ch
|
||||
, op
|
||||
, i
|
||||
, v
|
||||
|
||||
var buff = ''
|
||||
, code = ''
|
||||
, cap;
|
||||
|
||||
code += 'var v, dyn = {}, stat = {}, stack = [], out = [];';
|
||||
code += ' function o(a){out.push(a);return a}';
|
||||
|
||||
function clear() {
|
||||
if (buff) {
|
||||
//code += 'o(' + JSON.stringify(buff) + '),';
|
||||
code += 'o("';
|
||||
//code += 'out.push(' + JSON.stringify(buff) + '),';
|
||||
code += 'out.push("';
|
||||
code += buff.replace(/([\r\n"])/g, '\\$1');
|
||||
code += '"),';
|
||||
buff = '';
|
||||
|
@ -350,10 +347,14 @@ Tput.prototype._compile = function(val) {
|
|||
return cap;
|
||||
}
|
||||
|
||||
function stmt() {
|
||||
if (code[code.length-1] === ',') code = code.slice(0, -1);
|
||||
}
|
||||
|
||||
while (val) {
|
||||
// '\e' -> ^[
|
||||
if (read(/^\\e/i)) {
|
||||
code += 'o("';
|
||||
code += 'out.push("';
|
||||
code += '\\x1b';
|
||||
code += '"),';
|
||||
continue;
|
||||
|
@ -362,7 +363,7 @@ Tput.prototype._compile = function(val) {
|
|||
// '^A' -> ^A
|
||||
// case-insensitive?
|
||||
if (read(/^\^(.)/i)) {
|
||||
code += 'o("';
|
||||
code += 'out.push("';
|
||||
switch (ch.toUpperCase()) {
|
||||
case '@':
|
||||
code += '\\x00';
|
||||
|
@ -475,7 +476,7 @@ Tput.prototype._compile = function(val) {
|
|||
// '\r' -> \r
|
||||
// '\0' -> \200 (special case)
|
||||
if (read(/^\\([nlrtbfs\^\\,:0])/)) {
|
||||
code += 'o("';
|
||||
code += 'out.push("';
|
||||
switch (ch) {
|
||||
case 'n':
|
||||
code += '\\n';
|
||||
|
@ -524,7 +525,7 @@ Tput.prototype._compile = function(val) {
|
|||
|
||||
// 3 octal digits -> character
|
||||
if (read(/^\\(\d\d\d)/)) {
|
||||
code += 'o("';
|
||||
code += 'out.push("';
|
||||
code += '\\' + ch;
|
||||
//code += String.fromCharCode(parseInt(ch, 8));
|
||||
code += '"),';
|
||||
|
@ -534,14 +535,14 @@ Tput.prototype._compile = function(val) {
|
|||
// $<5> -> padding
|
||||
// e.g. flash_screen: '\u001b[?5h$<100/>\u001b[?5l',
|
||||
if (read(/^\$<(\d+)>(\*|\/)/)) {
|
||||
code += 'o("';
|
||||
code += 'out.push("';
|
||||
code += '"),';
|
||||
continue;
|
||||
}
|
||||
|
||||
// %% outputs `%'
|
||||
if (read(/^%%/)) {
|
||||
code += 'o("';
|
||||
code += 'out.push("';
|
||||
code += '%';
|
||||
code += '"),';
|
||||
continue;
|
||||
|
@ -552,14 +553,14 @@ Tput.prototype._compile = function(val) {
|
|||
// next character to be a `-' flag, avoiding interpreting "%-" as an
|
||||
// operator.
|
||||
if (read(/^%(:-|[+# ])(?:(\d+)(\.\d+)?)?([doxXs])?/)) {
|
||||
code += 'o("';
|
||||
code += 'out.push("';
|
||||
code += '"),';
|
||||
continue;
|
||||
}
|
||||
|
||||
// %c print pop() like %c in printf
|
||||
if (read(/^%c/)) {
|
||||
code += 'o(';
|
||||
code += 'out.push(';
|
||||
code += 'stack.pop()'; // TODO: FORMAT
|
||||
code += '),';
|
||||
continue;
|
||||
|
@ -568,7 +569,7 @@ Tput.prototype._compile = function(val) {
|
|||
// %d print pop() like %d in printf
|
||||
// NOT SURE ABOUT %d being print!
|
||||
if (read(/^%d/)) {
|
||||
code += 'o(';
|
||||
code += 'out.push(';
|
||||
code += 'stack.pop()'; // TODO: FORMAT
|
||||
code += '),';
|
||||
continue;
|
||||
|
@ -576,7 +577,7 @@ Tput.prototype._compile = function(val) {
|
|||
|
||||
// %s print pop() like %s in printf
|
||||
if (read(/^%s/)) {
|
||||
code += 'o(';
|
||||
code += 'out.push(';
|
||||
code += 'stack.pop()'; // TODO: FORMAT
|
||||
code += '),';
|
||||
continue;
|
||||
|
@ -659,7 +660,7 @@ Tput.prototype._compile = function(val) {
|
|||
// %A, %O
|
||||
// logical AND and OR operations (for conditionals)
|
||||
if (read(/^%([AO])/)) {
|
||||
if (code[code.length-1] === ',') code = code.slice(0, -1);
|
||||
stmt();
|
||||
code += op === ' A ' ? ' && ' : ' || ';
|
||||
continue;
|
||||
}
|
||||
|
@ -693,19 +694,19 @@ Tput.prototype._compile = function(val) {
|
|||
// written on one line. The -f option splits the string into lines with
|
||||
// the parts indented.
|
||||
if (read(/^%\?/)) {
|
||||
if (code[code.length-1] === ',') code = code.slice(0, -1);
|
||||
stmt();
|
||||
code += ';if (';
|
||||
continue;
|
||||
}
|
||||
|
||||
if (read(/^%t/)) {
|
||||
if (code[code.length-1] === ',') code = code.slice(0, -1);
|
||||
stmt();
|
||||
code += ') {';
|
||||
continue;
|
||||
}
|
||||
|
||||
if (read(/^%e/)) {
|
||||
if (code[code.length-1] === ',') code = code.slice(0, -1);
|
||||
stmt();
|
||||
var end = val.indexOf('%;');
|
||||
var els = val.indexOf('%e');
|
||||
var then = val.indexOf('%t');
|
||||
|
@ -719,7 +720,7 @@ Tput.prototype._compile = function(val) {
|
|||
}
|
||||
|
||||
if (read(/^%;/)) {
|
||||
if (code[code.length-1] === ',') code = code.slice(0, -1);
|
||||
stmt();
|
||||
code += '}';
|
||||
continue;
|
||||
}
|
||||
|
@ -758,7 +759,7 @@ Tput.prototype._compile = function(val) {
|
|||
|
||||
clear();
|
||||
|
||||
if (code[code.length-1] === ',') code = code.slice(0, -1);
|
||||
stmt();
|
||||
code += ';return out.join("");';
|
||||
|
||||
if (this.debug) {
|
||||
|
|
Loading…
Reference in New Issue