nano-devel
[Top][All Lists]
Advanced

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

[Nano-devel] Cursor location display (^C) displays columns numbered from


From: Andrew Ho
Subject: [Nano-devel] Cursor location display (^C) displays columns numbered from 0
Date: Thu, 28 Mar 2002 15:04:48 -0800 (PST)

Hello,

A quick comment.

I love the new behavior of nano starting with 1.1.7 where when you press
^C it displays the current column number as well as row and where you are
in the file. However, I'm thinking column numbers, like row numbers,
should be numbered from 1 instead of from 0.

Nobody speaks of putting the cursor at column 0; instead, they speak of
column 1. In an 80-column display you'd expect the rightmost column of the
screen to be column 80, not column 79. This mirrors the behavior of the
biggest users of the row-column paradigm, spreadsheets.

>From a cursory glimpse at the code it looks like the easiest fix is the
trivial display fix in winio.c.

Humbly,

Andrew

-------------------------------------------------------------------------
'Twas brillig, and the slithy toves                            Andrew Ho
 Did gyre and gimble in the wabe.                     address@hidden
 All mimsy were the borogoves,
 And the mome raths outgrabe.             http://www.zeuscat.com/andrew/
-------------------------------------------------------------------------






reply via email to

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