yi-editor / yi

The Haskell-Scriptable Editor
GNU General Public License v2.0
1.51k stars 203 forks source link

Cursor goes offscreen if path longer than terminal width in C-x C-f #112

Open ethercrow opened 12 years ago

ethercrow commented 12 years ago

Original author: gree...@gmail.com (May 16, 2011 12:13:06)

What steps will reproduce the problem?

  1. build as vty app
  2. yi --editor=emacs
  3. C-x C-f
  4. navigate to path that is longer than terminal window, using tab completion

What is the expected output? What do you see instead? Input area should be either wrapped, so that it's all visible, or truncated to the left. Instead it is truncated at the right end, and the cursor is no longer visible. You can't see what you're typing.

Original issue: http://code.google.com/p/yi-editor/issues/detail?id=353

ethercrow commented 12 years ago

From gree...@gmail.com on May 16, 2011 12:14:29 Obviously that should be "--as=emacs", not "--editor=emacs", above.