Skip to content
This repository
Browse code

When echoing messages to the bottom of the screen, truncate their len…

…gths to &columns-1 so that we never get a "Press ENTER" prompt.
  • Loading branch information...
commit ddeb0bf2d7db7916a62339f42c18c7a12468cd37 1 parent 10fb7c3
Kevin Watters authored November 09, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  pyflakes.vim
2  pyflakes.vim
@@ -159,7 +159,7 @@ if !exists("*s:WideMsg")
159 159
         let x=&ruler | let y=&showcmd
160 160
         set noruler noshowcmd
161 161
         redraw
162  
-        echo a:msg
  162
+        echo strpart(a:msg, 0, &columns-1)
163 163
         let &ruler=x | let &showcmd=y
164 164
     endfun
165 165
 endif

0 notes on commit ddeb0bf

Please sign in to comment.
Something went wrong with that request. Please try again.