Comments (18)
Can you provide the exact steps you take to reproduce it? Including the line you run, the SPACE
navigation, and the output you try to copy.
from how2.
See when I search for it, the first answer that I get, I can select and copy stuff from inside
But when I press SPACE
for more answers and get to an answer, there I cannot select the text or copy anything.
from how2.
@ahmadawais I think you pasted the same image twice.
Is this using ZSH? on which os?
from how2.
@danielkop Can you recheck the images, just refresh?
from how2.
Yes, I am using ZSH on Mac.
from how2.
Same problem here.
ZSH on Arch linux
from how2.
Good repo, Good issue
Same issue. I use bash in terminator in ubuntu
from how2.
This is an issue with blessed, or with the way it is configured to run here. If you'd try to run the example code in the link above, you'll see that the text is not selectable.
from how2.
^Any solution for that?
from how2.
@ahmadawais @smmoosavi @h-ayat it was {mouse:true}. Either you can mouse scroll, or you can copy-paste.
It's fixed in 1.0.9. Now you can't mouse scroll, but you can copy-paste.
Make sure you update with "npm install -g how2"
from how2.
Thanx for quick reply and fix.
I've updated how2 to the latest version.
Now mouse clicks and scroll does nothing,
And there's a bug in selecting multi-line text, because background boxes get selected too.
I've attached a snapshot from the bug:
from how2.
@h-ayat I wouldn't call it a bug, as this is the intended behaviour of selection in the terminal, which is why I believe that it could not be resolved for the current view.
A possible alternative is to modify the way blessed is used here, and display the content of that window in full width without borders.
from how2.
^Same problem here. Thanks for the update but one cannot copy more than one line.
from how2.
A lot of terminals have a column select (or block select) feature.
With Ubuntu try holding Ctrl+Alt before you select, or Alt+Cmd if you're in iTerm.
from how2.
@danyshaanan Thank you anyway.
@danielkop Very nice trick 👍 Actually solved many problems other than this !
from how2.
@h-ayat It also works in a lot of text editors and IDEs. Block selection changed my life 😀
from how2.
@danielkop such a nice trick! thanks, I'm putting it in the readme
from how2.
@danielkop Thanks for the tip, I never knew that.
from how2.
Related Issues (20)
- Ver depois
- Clarify npm package
- [Feature request] Any other way of installing how2 without npm? HOT 2
- [Windows] Crash after pressing space
- Explain how it works on README.md
- Sorry, I cannot find any reasonable answer for your query HOT 1
- Result title is undefined?
- error ,not connect HOT 2
- SO search completely broken (deliberately?) HOT 2
- TypeError: Cannot read property 'prototype' of undefined HOT 1
- Problem in Using! HOT 1
- Type Error: Cannot read property 'prototype' of undefined HOT 2
- Sublime or Alfred plugin?
- Error: Cannot read property 'prototype' of undefined. HOT 2
- Unexpected token function when trying to launch how2 HOT 1
- Sorry, I cannot find any reasonable answer for your query. HOT 21
- OSX problem TypeError: Cannot read property 'prototype' of undefined HOT 2
- "ETIMEDOUT" error logged to console when pressing space for more choices HOT 1
- SyntaxError: Unexpected token function HOT 4
- Query error with mongodb HOT 2
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 how2.