diff --git a/lib/prompts/rawlist.js b/lib/prompts/rawlist.js
index <HASH>..<HASH> 100644
--- a/lib/prompts/rawlist.js
+++ b/lib/prompts/rawlist.js
@@ -149,15 +149,13 @@ Prompt.prototype.onSubmit = function( input ) {
  */
 
 Prompt.prototype.onKeypress = function( s, key ) {
-  var input = this.rl.line.length ? Number(this.rl.line) : 1;
-  var index = input - 1;
+  var index = this.rl.line.length ? Number(this.rl.line) - 1 : 0;
 
   if ( this.opt.choices[index] ) {
     this.selected = index;
   } else {
     this.selected = undefined;
   }
-  this.down().clean(1).render();
 
-  this.write( this.rl.line );
+  this.down().clean(1).render().write( this.rl.line );
 };
reduce length of rawlist onKeypress method