Skip to content

Commit

Permalink
pdbp: turn off line truncating by default, fixes terminal resizing …
Browse files Browse the repository at this point in the history
…stuff
  • Loading branch information
goodboy committed Apr 20, 2023
1 parent adaea6e commit 8b9cc44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tractor/_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,17 @@ def release(cls):

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):
'''
Expand Down

0 comments on commit 8b9cc44

Please sign in to comment.