Ignore:
Timestamp:
Nov 30, 2009, 5:07:52 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • do not use tabs in caca output (it breaks boxes) (courtesy of Romain Bignon)
File:
1 edited

Legend:

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

    r4075 r4080  
    1 /* 
     1/*
    22 *  neercs        console-based window manager
    33 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
     
    220220    caca_draw_cp437_box(screen_list->cv, 0, 0, w, h);
    221221
    222     caca_printf(screen_list->cv, 2, 1, "Num \tName");
     222    caca_printf(screen_list->cv, 2, 1, "Num         Name");
    223223    for (i = 0; i < screen_list->count; i++)
    224224    {
     
    228228        else
    229229            caca_set_color_ansi(screen_list->cv, CACA_DEFAULT, CACA_DEFAULT);
    230         sprintf(line, "%d \t%s", i + 1, screen_list->screen[i]->title);
     230        sprintf(line, "%d           %s", i + 1, screen_list->screen[i]->title);
    231231
    232232        caca_printf(screen_list->cv, 2, i + 3, line);
Note: See TracChangeset for help on using the changeset viewer.