Comments (3)
It's the width of the code or the width of the terminal that defines how much space is used for the traceback (whichever is smaller). To make the traceback wider so it doesn't wrap, set width
to your desired value, or set it to None
to use all available width. See traceback docs.
from rich.
Thanks. The width=None
option works for me. Is there any option to disable drawing box as well?
from rich.
However, with width=None
log messages are still truncated at the terminal width. I think there should be a way (i) to disable boxes or (ii) to print the whole line wrapped and continued on the next line.
from rich.
Related Issues (20)
- [BUG] Transient doesn't work on Live HOT 1
- [BUG] Broken line drawing on Linux virtual console HOT 1
- [BUG] Colorization of STDERR is unexpectedly disabled when STDOUT is redirected HOT 5
- [BUG] Proposed solution to #3234 is ineffective HOT 1
- Why this happening when i set: RichHandler(console=Console()) HOT 2
- [REQUEST] Storing Beautified Traceback as String into a variable HOT 1
- [BUG] Progress documentation unclear HOT 1
- [BUG] About FileHandler HOT 8
- [BUG] Minor ReprHighlighter "repr.ipv6" Visual Defect fix HOT 4
- [REQUEST] Support Console.input() for Live HOT 3
- [BUG] significantly changes the text to be printed. [v13.7.0] HOT 4
- [BUG] Live rendering issue with a specific Unicode character HOT 1
- [BUG] Panel borders broken if using a styled console as renderable HOT 5
- [BUG] multibyte characters in Progressbar TextColumn mess up render HOT 11
- [BUG] Documentation and code disagree about the type of `log_time_format` HOT 1
- [REQUEST] Backspace and Carriage Return support HOT 1
- [BUG] rich/13.7.0: tests failure on debian unstable HOT 1
- [BUG] Text inside Live with vertical_overflow="visible" duplicating when above console.height instead of scrolling HOT 2
- [BUG] Addressing Dashboard Freeze and Cursor Flicker Issues in Real-Time Data Applications Using Rich HOT 11
- Using Traceback Handler has no effect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rich.