From 705538398f07bd8956f3a011fbebf14bb978385a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 19 Apr 2023 15:31:02 -0400 Subject: [PATCH] `pdbp`: turn off line truncating by default, fixes terminal resizing stuff --- tractor/_debug.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tractor/_debug.py b/tractor/_debug.py index c3c3aed..383abe2 100644 --- a/tractor/_debug.py +++ b/tractor/_debug.py @@ -158,13 +158,17 @@ class Lock: class TractorConfig(pdbp.DefaultConfig): ''' - Custom ``pdbp`` goodness. + Custom ``pdbp`` goodness :surfer: ''' # use_pygments = True sticky_by_default = True enable_hidden_frames = False + # much thanks @mdmintz for the hot tip! + # fixes line spacing issue when resizing terminal B) + truncate_long_lines = False + class MultiActorPdb(pdbp.Pdb): '''