ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/tty.c
(Generate patch)

Comparing ray/src/rt/tty.c (file contents):
Revision 1.2 by greg, Fri Sep 29 13:23:58 1989 UTC vs.
Revision 1.3 by greg, Tue Jan 30 11:37:47 1990 UTC

# Line 81 | Line 81 | getch()                                        /* get a character in raw mode */
81  
82  
83   static
84 < ttyin(buf)                              /* read a line in raw mode */
85 < char  *buf;
84 > ttyin(buf, prompt)                      /* read a line in raw mode */
85 > char  *buf, *prompt;
86   {
87          int  getch();
88  
89 +        if (prompt != NULL)
90 +                (*ttydev->comout)(prompt);
91          editline(buf, getch, ttydev->comout);
92   }
93  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines