X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam_tview.c;h=c6a31cd7fc73d20797d3c1d7e1d0fd4545cf8942;hb=a5a8f24beaa6b65b40f29d89a62cf2c643100c6d;hp=2442994d3708912daf0823c1114eb0368d6961de;hpb=dc1501028f961adf4939576fa59d9b1b7fb50798;p=samtools.git diff --git a/bam_tview.c b/bam_tview.c index 2442994..c6a31cd 100644 --- a/bam_tview.c +++ b/bam_tview.c @@ -192,11 +192,8 @@ tview_t *tv_init(const char *fn, const char *fn_fa) clear(); noecho(); cbreak(); -#ifdef NCURSES_VERSION + tv->mrow = 24; tv->mcol = 80; getmaxyx(stdscr, tv->mrow, tv->mcol); -#else - tv->mrow = 80; tv->mcol = 40; -#endif tv->wgoto = newwin(3, TV_MAX_GOTO + 10, 10, 5); tv->whelp = newwin(27, 40, 5, 5); tv->color_for = TV_COLOR_MAPQ;