Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable/Delete line wrap #139

Open
KarlRW opened this issue Feb 19, 2023 · 1 comment
Open

Disable/Delete line wrap #139

KarlRW opened this issue Feb 19, 2023 · 1 comment

Comments

@KarlRW
Copy link

KarlRW commented Feb 19, 2023

There are two issues that mention line wrap (linked below). I'm making this issue because I think disabling/deleting line wrap is going to be easier to code than the other two issues. Most editors can handle line wrapping for you. Having a specific wrap hard coded in makes IC not very nice to use.

Even a hacky way to disable/delete it would be nice if someone figured it out.

#90 - This one has mention of disabling line wrap but its buried under a more complex request.
#60 - The main problem... if we could set line wrap to 2000 it would be the same as disabling.

@Gleiphnir
Copy link

Copied reply from #60

preferredWidth = 2000
pp = pprint.PrettyPrinter(width=preferredWidth)
ic.configureOutput(argToStringFunction=pp.pformat)
ic.lineWrapWidth = preferredWidth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants