Skip to content
Browse files

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...
1 parent 10fb7c3 commit ddeb0bf2d7db7916a62339f42c18c7a12468cd37 @kevinw committed Nov 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyflakes.vim
2 pyflakes.vim
@@ -159,7 +159,7 @@ if !exists("*s:WideMsg")
let x=&ruler | let y=&showcmd
set noruler noshowcmd
- echo a:msg
+ echo strpart(a:msg, 0, &columns-1)
let &ruler=x | let &showcmd=y

0 comments on commit ddeb0bf

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