* Start work on allowing pipe codes & custom drawing using items vs focusItems for menus. EXPERIMENTAL.

This commit is contained in:
Bryan Ashby 2015-08-25 23:17:09 -06:00
parent 64c8d83559
commit 9442760679
10 changed files with 171 additions and 20 deletions

View file

@ -128,7 +128,7 @@ function logoff(callingMenu, formData, extraArgs) {
//
client.term.write(
ansi.normal() + '\n' +
require('crypto').randomBytes(Math.floor(Math.random() * 25) + 5).toString() +
require('crypto').randomBytes(Math.floor(Math.random() * 35) + 10).toString(client.term.outputEncoding) +
'NO CARRIER');
client.end();