trepan-ni
Version:
Trepan debugger for Node Inspect (and based on node inspect debugger)
26 lines (20 loc) • 521 B
JavaScript
// Copyright 2015, 2018 Rocky Bernstein
;
/*============================================================
Debugger 'show width' command.
====================================================*/
exports.Init = function(name, subcmd) {
return {
help: `**show 'width'**
Show the number of characters the debugger thinks are in a line.
Examples:
---------
show 'width'
See also:
---------
set 'width'`,
run: function(intf) {
intf.print(`width: ${intf.opts.displayWidth}`);
}
};
};