MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / print_msg

Function print_msg

pdflinux.js:43–52  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

41}
42
43function print_msg(msg) {
44 lines.push(""+msg);
45 if (lines.length > 25)
46 lines.shift();
47
48 for (var i = 0; i < lines.length; i++) {
49 var row = lines[i];
50 globalThis.getField("console_"+(25-i-1)).value = row;
51 }
52}
53
54Module.print = function(msg) {
55 let max_len = 40;

Callers 6

pdflinux.jsFile · 0.85
start_machine_intervalFunction · 0.85
button_downFunction · 0.85
button_upFunction · 0.85
key_pressedFunction · 0.85
lib.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected