diff --git a/libr/core/visual.c b/libr/core/visual.c index 83cbe10fe0b2b..db0138969b0f8 100644 --- a/libr/core/visual.c +++ b/libr/core/visual.c @@ -1766,7 +1766,9 @@ static void visual_textlogs(RCore *core) { index += 10; break; case '[': - shift --; + if (shift > 0) { + shift --; + } break; case ']': shift ++;