Permalink
Browse files

workaround. see: vim-jp/issues#156

  • Loading branch information...
1 parent 96f4fd7 commit 4ceca7a211ee2c11be0fdb8e35195d5c7d21076a @mattn committed Feb 2, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 autoload/lisper.vim
View
@@ -1,7 +1,7 @@
"=============================================================================
" lisper.vim
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
-" Last Change: 28-Nov-2011.
+" Last Change: 02-Feb-2012.
"
" Based On: http://norvig.com/lis.py
@@ -518,8 +518,9 @@ function! lisper#repl()
let nest = 0
try
while 1
- let exp .= input("lisp".repeat(">", nest+1)." ")
- echo "\n"
+ let prompt = "lisp".repeat(">", nest+1)." "
+ let exp .= input(prompt)
+ echo "\r".prompt.exp."\n"
if len(exp) > 0
let tokens = []
try

0 comments on commit 4ceca7a

Please sign in to comment.