]> code.delx.au - gnu-emacs-elpa/commit
Truncate minibuffer prompts longer than window-width
authorOleh Krehel <ohwoeowho@gmail.com>
Sat, 26 Sep 2015 11:56:19 +0000 (13:56 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Sat, 26 Sep 2015 11:56:19 +0000 (13:56 +0200)
commit3ce7df8acb2da4c6b1a8e3d8c6ae724f487b9870
tree66b2e050b4467e2273198658aa9c4e70a46c0e2a
parentefd1f09bbc4beb08c4221a6ff497c3cc832320cf
Truncate minibuffer prompts longer than window-width

* ivy.el (ivy--insert-prompt): When the prompt string is longer than the
  window width, truncate it to window width minus 26 chars.

Fixes #240
ivy.el