<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3367: mutt-1.5.20hg: Cursor's shape is not preserved on a text console



#3367: mutt-1.5.20hg: Cursor's shape is not preserved on a text console
---------------------------------+------------------------------------------
  Reporter:  bjarniig@â          |       Owner:  mutt-dev
      Type:  defect              |      Status:  new     
  Priority:  major               |   Milestone:          
 Component:  mutt                |     Version:          
Resolution:  fixed               |    Keywords:          
---------------------------------+------------------------------------------

Comment(by Derek Martin):

 {{{
 This would seem to be not at all a Mutt bug, so much as false
 expectation on the user's part.  The sequence described may well
 change the cursor on your terminal, but all you are doing is echoing
 terminal control characters to your terminal, which usually effects
 only a temporary change.  You can similarly change the color of the
 text on your terminal, e.g.:

   echo -e "\e[36;01m"

 ...which will change the text color to cyan on most common
 (vt-101-like) color terminals.  However any program which subsequently
 uses color (e.g. gnu ls with --color) will restore the color to the
 default color when it is finished, just as mutt restores your cursor
 to the default cursor when it's done.  Your change is temporary; it
 seems to me that what you need to do is find a way to change the
 default cursor.
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3367#comment:>
Mutt <http://www.mutt.org/>
The Mutt mail user agent