ranger-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ranger-users] Top column lines go missing after executing ":set draw_bo


From: Gary Johnson
Subject: [Ranger-users] Top column lines go missing after executing ":set draw_borders=true"
Date: Sun, 17 Mar 2013 14:23:04 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

In commit d7f3d7dc8631abe931a1205f12d7f11e9929f1fb, the top line of
each column goes missing when ":set draw_borders=true" is executed.
The top line of each column is overwritten by the top border line
and the contents are not shifted down.

For example, in the ranger directory (the top-level directory of the
git repo), execute

    ./ranger.py -c

The top of the display looks like this:

    address@hidden:/usr/local/src/ranger-git/ranger/build
     ranger    build                     2   lib                                
    
     README    doc                       9   scripts-2.7
               ranger                   12 
               scripts                   2 
               CHANGELOG            9.85 K 
               COPYING              34.3 K 
               install_log.txt        14 K 
               Makefile             2.85 K 
               ranger.py            1.37 K 
               README               3.58 K 
               setup.py             1.77 K 

Now execute ":set draw_borders=true".  The top of the display now
looks like this:

    address@hidden:/usr/local/src/ranger-git/ranger/build
    
┌────────┬─────────────────────────────┬───────────────────────────────────────┐
    │README  │ doc                       9 │ scripts-2.7                        
   │
    │        │ ranger                   12 │                                    
   │
    │        │ scripts                   2 │                                    
   │
    │        │ CHANGELOG            9.85 K │                                    
   │
    │        │ COPYING              34.3 K │                                    
   │
    │        │ install_log.txt        14 K │                                    
   │
    │        │ Makefile             2.85 K │                                    
   │
    │        │ ranger.py            1.37 K │                                    
   │
    │        │ README               3.58 K │                                    
   │
    │        │ setup.py             1.77 K │                                    
   │
    │        │                             │                                    
   │

Opening the editor on a file and returning to ranger will correct
the display so that it looks like this:

    address@hidden:/usr/local/src/ranger-git/ranger/build
    
┌─────────┬─────────────────────────────┬──────────────────────────────────────┐
    │ ranger  │ build                     2 │ lib                               
   │
    │ README  │ doc                       9 │ scripts-2.7                       
   │
    │         │ ranger                   12 │                                   
   │
    │         │ scripts                   2 │                                   
   │
    │         │ CHANGELOG            9.85 K │                                   
   │
    │         │ COPYING              34.3 K │                                   
   │
    │         │ install_log.txt        14 K │                                   
   │
    │         │ Makefile             2.85 K │                                   
   │
    │         │ ranger.py            1.37 K │                                   
   │
    │         │ README               3.58 K │                                   
   │
    │         │ setup.py             1.77 K │                                   
   │
    │         │                             │                                   
   │

Executing ":set draw_borders=false" has no immediate effect.  Moving
the cursor refreshes the screen, but the column contents are not
shifted back up to fill the space where the top border was.

    address@hidden:/usr/local/src/ranger-git/ranger/doc

      ranger    build                     2   config                            
   
      README    doc                       9   examples    
                ranger                   12   tools
                scripts                   2   colorschemes.txt
                CHANGELOG            9.85 K   HACKING
                COPYING              34.3 K   ranger.pod
                install_log.txt        14 K   ranger.1
                Makefile             2.85 K   rifle.pod
                ranger.py            1.37 K   rifle.1
                README               3.58 K 
                setup.py             1.77 K 

This is probably not a big deal for most users because it works fine
if you set draw_borders in rc.conf, but I haven't decided whether I
like the borders yet, so I go back and forth from the command line.

Regards,
Gary




reply via email to

[Prev in Thread] Current Thread [Next in Thread]