From 8b9cc449501e39359146be3ff425e2e570964609 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 90b3ea7..0b927e1 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 = False 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): '''