Re: [Help-bash] Storing cursor positions using tput into an array.
From:
Greg Wooledge
Subject:
Re: [Help-bash] Storing cursor positions using tput into an array.
Date:
Mon, 11 Sep 2017 10:08:47 -0400
User-agent:
NeoMutt/20170113 (1.7.2)
On Mon, Sep 11, 2017 at 06:24:16PM +0530, Sinbad wrote:
> I want to extract the cursor positions using tput into an array and recover
> to the stored cursor positions accordingly at later point in time.
Have you looked at terminfo(5) or your operating system's equivalent?
restore_cursor rc rc restore cursor to
position of last
save_cursor
save_cursor sc sc save current cursor
position (P)