This move() call moves the cursor to column 9 which can cause already printed characters to be overwritten in interactive mode. Remove it so that the lines are formatted as in command line mode.
Before: " 24: 0x180x5106 / 20742" After: " 24: 0x18 => 0x5106 / 20742" Signed-off-by: Andrew Price <anpr...@redhat.com> --- gfs2/edit/extended.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gfs2/edit/extended.c b/gfs2/edit/extended.c index d24d7550..f38fc7bf 100644 --- a/gfs2/edit/extended.c +++ b/gfs2/edit/extended.c @@ -178,8 +178,6 @@ static int display_indirect(struct iinfo *ind, int indblocks, int level, print_gfs2(" "); } print_gfs2("%d: 0x%"PRIx64" => ", pndx, ind->ii[pndx].ptroff); - if (termlines) - move(line,9); print_gfs2("0x%"PRIx64" / %"PRId64, ind->ii[pndx].block, ind->ii[pndx].block); if (termlines) { -- 2.21.0