MCPcopy
hub / github.com/vercel/hyper / forceLineReturn

Method forceLineReturn

bin/yarn-standalone.js:117422–117425  ·  view source on GitHub ↗
(content, width)

Source from the content-addressed store, hash-verified

117420 }
117421
117422 forceLineReturn(content, width) {
117423 width = width || this.normalizedCliWidth();
117424 return _.flatten(this.breakLines(content.split('\n'), width)).join('\n');
117425 }
117426}
117427
117428module.exports = ScreenManager;

Callers 1

renderMethod · 0.95

Calls 3

normalizedCliWidthMethod · 0.95
breakLinesMethod · 0.95
flattenMethod · 0.80

Tested by

no test coverage detected