#4524: interact : incomplete default string in the input box
----------------------+-----------------------------------------------------
 Reporter:  slabbe    |       Owner:  itolkov   
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.2.1
Component:  interact  |    Keywords:  input_box 
----------------------+-----------------------------------------------------
 Using interact in sage 3.1.4, the default string doesn't print completly
 in the input box. It looks like it prints up to the first character '
 found.
 The folowing example works well

 {{{
 @interact
 def _(a=input_box(default='interact is "cool"',type=str,label='Name:')):
     print a
 }}}

 and it puts *interact is "cool"* in the input box. But in the next one,

 {{{
 @interact
 def _(a=input_box(default="interact is 'cool'",type=str,label='Name:')):
     print a
 }}}

 the default string in the input box is incomplete, it puts only *interact
 is *. So, we don't know if interact is cool or not !

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4524>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to