bugranger - Bugs: bug #39435, Ctrl-L does not properly redraw...

 
 

bug #39435: Ctrl-L does not properly redraw the display_file window.

Submitter:  None
Submitted:  Mon 08 Jul 2013 01:41:46 AM UTC
   
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 08 Jul 2013 01:41:46 AM UTC, original submission:  

I just did a 'git pull' and 'sudo make install' on 2013-07-07 at 22:55 UTC to make sure I had the latest.

The problem is that when using the display_file command (bound to 'i' by default) to view a file, typing Ctrl-L to redraw the window does not completely redraw the window.

Example:

1.  Start ranger.
2.  Type
gRl
3.  Execute
:shell ( sleep 5; echo hello ) &
4.  Quickly (within much less than 5 seconds) type
i
    to view the _init_.py file.
5.  The string "hello" will overwrite the first five characters of the firs line of the _init_.py file, so that the first two lines of the display will look like this:

gary@toucan:/usr/lib/python2.7/site-packages/ranger/api/__init__.py
helloles in this module contain helper functions used in configuration files."""

6.  Type Ctrl-L to redraw the display.  The first two lines of the display now look like this.

gary@toucan:/usr/lib/python2.7/site-packages/ranger/api/__init__.py
hellogary@toucan:/usr/lib/python2.7/site-packages/ranger/api/__init__.py

The behavior is the same using either a GNOME Terminal 2.32.0 or an xterm X.Org 6.8.99.903(261).

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-3cd0.
Corresponding source code