Ignore:
Timestamp:
Nov 23, 2009, 12:45:17 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Implemented "DA -- Device Attributes" ansi sequence (vttest 6/4)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/server.c

    r4001 r4016  
    450450    char *str = NULL;
    451451    int size = 0;
     452
     453    if (screen_list->help)
     454    {
     455        return help_handle_key(screen_list, c); 
     456    }
     457
    452458    /* CTRL-A has been pressed before, handle this as a command, except that
    453        CTRL-A a sends literal CTRL-A */
    454 
    455     if (screen_list->help)
    456     {
    457         return help_handle_key(screen_list, c); 
    458     }
    459 
     459     CTRL-A a sends literal CTRL-A */
    460460    if (screen_list->command && (c != 'a'))
    461461    {
     
    515515}
    516516
     517int send_ansi_sequence(struct screen_list *screen_list, char *str)
     518{
     519    debug("Sending ansi '%s'\n", str);
     520    return write(screen_list->screen[screen_list->pty]->fd, str, strlen(str));
     521}
    517522
    518523int start_server(struct screen_list *screen_list)
Note: See TracChangeset for help on using the changeset viewer.