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 single input line cropping #34

Open
haraldkrischner opened this issue Aug 25, 2016 · 3 comments
Open

disable single input line cropping #34

haraldkrischner opened this issue Aug 25, 2016 · 3 comments

Comments

@haraldkrischner
Copy link

I don't know how the feature is called, that you always have a single line input which does not break but moves the character inside the visible space.
Instead I prefer the default line wrapping behaviour for two reasons:

  • I want to see the whole line.
  • I want to copy the whole line after heavy experimenting with it in the console.

I did not find any configuration possibilities to disable that feature. Is it just me looking for in the wrong places? :) Kind regard

@banister
Copy link
Member

Idk what you're talking about, screen shot?

@haraldkrischner
Copy link
Author

My explanation was obviously rather bad. HTH:
coolline

@parreirat
Copy link

parreirat commented Jan 5, 2017

Ontopic:

Also heavily dislike the wrapping behaviour, might look into disabling it myself sometime soon!

Abit unrelated, but might help you @haraldkrischner.
Use this in your ~/.pryrc for copying the last line:

Pry::Commands.block_command('cll', 'Copies to clipboard last evaluated ruby expression, or argument.') do
  last_expression = `cat ~/.pry_history | tail -n 2`.split("\n")[0]
  system "echo '#{last_expression}' | pbcopy"
end

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

3 participants