Changeset 2639 for neercs/trunk/src
- Timestamp:
- Aug 2, 2008, 12:23:49 PM (14 years ago)
- Location:
- neercs/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/src/input.c
r2626 r2639 73 73 { 74 74 int refresh = 0; 75 76 if(c >= '0' && c<='9') 77 { 78 int n = c-49; 79 if(n<screen_list->count) { 80 screen_list->prevpty = screen_list->pty; 81 screen_list->pty = n==-1?10:n; 82 return 1; 83 } else { 84 return 0; 85 } 86 } 87 75 88 switch(c) 76 89 { -
neercs/trunk/src/main.c
r2625 r2639 357 357 { 358 358 cucul_import_memory(screen_list->cv, buf+8, n-8, "caca"); 359 360 359 caca_refresh_display(screen_list->dp); 361 360 } -
neercs/trunk/src/screens.c
r2495 r2639 179 179 if(!screen_list->count) return; 180 180 181 182 debug("Current pty is %d\n", screen_list->pty); 183 181 184 screen_list->width = cucul_get_canvas_width(screen_list->cv); 182 185 screen_list->height = cucul_get_canvas_height(screen_list->cv) - (screen_list->mini*6); -
neercs/trunk/src/server.c
r2638 r2639 88 88 if(write(screen_list->socket[SOCK_CLIENT], buf2, bytes+8) <= 0 && errno != EAGAIN) 89 89 { 90 debug("Can't refresh (%s), with %d bytes\n", strerror(errno), bytes+8); 90 91 return -1; 91 92 }
Note: See TracChangeset
for help on using the changeset viewer.