nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [RFC] Overwrite mode


From: Marco Diego Aurélio Mesquita
Subject: Re: [Nano-devel] [RFC] Overwrite mode
Date: Thu, 12 Oct 2017 16:06:32 -0300

Hi Brand!

On Thursday, October 12, 2017, Brand Huntsman <address@hidden> wrote:
On Thu, 12 Oct 2017 02:35:27 -0300
Marco Diego Aurélio Mesquita <address@hidden> wrote:

> moved IO related functions to winio.c and increased
> visibility of cursor when in overtype mode (only for terminals that
> support curs_set(2)).

The overtype functionality of the patch seems to work fine. The underscore cursor in linux console did change to full block cursor and restored back to underscore fine. The cursor in urxvt didn't change when enabling or disabling overtype. printf '\e[3 q' changes the urxvt cursor to underscore but overtype in nano doesn't change it to full block.

The ncurses documentation says that curs_set returns ERR if the terminal cant change the cursor. I'll be away from my machine for the next few days. Would you mind to try the printf trick when curs_set returns ERR and, if it works, post an updated patch?

It would be nice if the nano UI had another indicator when overtype is enabled

 
This is a bigger discussion and something that should be decided in the future, after this feature gets in.

reply via email to

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