Linha horizontal do Windows CMD

// if working on node js
const line = '-'.repeat(process.stdout.columns);

console.log(line)
shahul