tscope cosmetics
This commit is contained in:
parent
a429eff466
commit
f7ae55bec8
|
@ -145,7 +145,7 @@ main( int argc, char*argv[] )
|
|||
// sadly, COLUMNS is not exported by default (?)
|
||||
char *columns_env = getenv("COLUMNS");
|
||||
int columns = columns_env ? atoi(columns_env) : 80;
|
||||
int show_nbands = ( (columns - 2 - 9) / pa_nchannels ) - 1;
|
||||
int show_nbands = ( (columns - 2 - 10) / pa_nchannels ) - 1;
|
||||
if ( show_nbands > nbands )
|
||||
show_nbands = nbands;
|
||||
char *magline = malloc(show_nbands+1);
|
||||
|
|
|
@ -36,7 +36,7 @@ tscope_print( fftwf_complex * const fftout, int nbands, float magscalar,
|
|||
int one_line_mode, int show_maxmag )
|
||||
{
|
||||
char *buf = alloca(nbands+1);
|
||||
char magchars[] = " .-=^!";
|
||||
char magchars[] = " .-=#^";
|
||||
if ( one_line_mode )
|
||||
magchars[0] = '_';
|
||||
float maxmag = 0;
|
||||
|
|
Loading…
Reference in New Issue