bug-bash
[Top][All Lists]
Advanced

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

Re: Negative indexes in ${arr[@]:off:length}


From: Greg Wooledge
Subject: Re: Negative indexes in ${arr[@]:off:length}
Date: Thu, 30 Jun 2011 08:15:15 -0400
User-agent: Mutt/1.4.2.3i

On Wed, Jun 29, 2011 at 06:41:25PM +0200, Maarten Billemont wrote:
> For those to whom a cursor between elements seems confusing: think of your 
> prompt's cursor and imagine an element is a single character.

No wonder this makes no sense to me.  Have you actually looked at the
cursor in a terminal?  I use rxvt, but xterm is the same: the cursor is
a black[1] rectangle that *overlies* one of the characters, not a skinny
little wedge/line that sits *between* characters.

The only time I've ever seen a cursor that is *between* characters is
in GUI stuff, like a textarea in Firefox.  But for people like me,
that's the oddball case, not the norm.  I certainly wouldn't expect a
programming language to work like this.

[1] Or white, if you are one of those people who use a dark background.
Or possibly amber or green, if you're *really* old school.



reply via email to

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