/[pupa]/pupa/kern/term.c
ViewVC logotype

Diff of /pupa/kern/term.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by okuji, Fri Dec 27 08:53:09 2002 UTC revision 1.2 by okuji, Thu Jan 2 23:46:21 2003 UTC
# Line 73  pupa_term_get_current (void) Line 73  pupa_term_get_current (void)
73  void  void
74  pupa_putchar (int c)  pupa_putchar (int c)
75  {  {
76    if (c == '\n')    if (c == '\t' && pupa_cur_term->getxy)
     pupa_putchar ('\r');  
   else if (c == '\t' && pupa_cur_term->getxy)  
77      {      {
78        int n;        int n;
79    
# Line 87  pupa_putchar (int c) Line 85  pupa_putchar (int c)
85      }      }
86        
87    (pupa_cur_term->putchar) (c);    (pupa_cur_term->putchar) (c);
88      
89      if (c == '\n')
90        pupa_putchar ('\r');
91  }  }
92    
93  int  int

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26