 quit = (resolve) ->
   switch resolve
     when 'yes', 'y' then shutdown 'Bye!'
-    when 'no', 'n' then return [null, '']
+    when 'no', 'n' then console.log ''; return [null, '']
     else return ['quit', style.warning 'ARE YOU SURE? (yes|y|no|n)']
 
 # Welcome screen
-process.stdout.write '\x1b[0;0H\x1b[K\x1b[J'
+process.stdout.write WELCOME
 
 # Getting user options
 argv = process.argv.slice 2

  error: (str) -> '\x1b[31m' + str + '\x1b[0m'
  warning: (str) -> '\x1b[33m' + str + '\x1b[0m'
  over: (str) -> '\x1b[36m' + str + '\x1b[0m'

# cpus
MAX_CPUS = os.cpus().length

# helps
USAGE_HELP = '\x1b[1mPilot [0.0.1]\x1b[0m

  console.log message + '\n'

# Add server process
add = (env, cpus) ->
  if cpus? then cpus = parseInt cpus else cpus = 1
  num = (pid for pid of workers).length
  if num < MAX_CPUS
    if cpus > MAX_CPUS - num
