Comments (9)
Hi, can you provide me some code so I can test that?
What is your gnome version? Your distro?
I'm afraid, it works fine on mine.
You can test using the program: sample/all-event-test.js,
Also try using Ctrl-D during the test to switch from one mouse reporting to another.
from terminal-kit.
I tried all-event-test, it was working better than what I tried before, because there were no issues until I got to motion
. But then this happened:
I only have part of gnome installed (so no overall gnome version), but my gnome-terminal is 3.16.2-1
I am using ArchLinux.
However, given the fact that your test is clearly working for me (at least the button and drag modes, which I need), I started thinking what else did I differently. Turns out, using nodemon causes the issue I was talking about. If I don't use nodemon, the issue goes away (apart from the breakages with the motion mode).
Now, I am not sure if this is a problem with terminal-kit or nodemon or neither, just bad luck, but I think we can close this issue for now.
Thanks for the help :).
from terminal-kit.
There are some chances that nodemon does not pass STDIN and STDOUT data as they are (i.e. performs some formatting, or spawn its own PTY, or whatever), thus interferes with escape sequences written back and forth.
However your screenshot is clearly a bug I should squash ;)
from terminal-kit.
Tell me if I can help you with that.
from terminal-kit.
I can't reproduce it but I made some improvement to avoid the whole app to crash if that happens again.
If you can reproduce it again, it should give us more informations.
from terminal-kit.
I did a pull and tried all-events again. Now, it didn't crash and quit the process, it just shows this:
from terminal-kit.
And in gnome-terminal, it doesn't happen, there it works. So it's probably terminology being broken in some way, if you could tell me what (as in, what standard or something) is not implemented or broken, I could make a request to the authors of terminology.
from terminal-kit.
Ok, I got it. The minus was ruining the parser. I don't know why they report a negative code here, it is supposed to be an unsigned integer. However, there isn't any real spec for mouse reporting, even invisible island does not give precise pointer.
I fixed that, assuming -1 is used by Terminology instead of the more common code 32 for mouse motion.
Now it should work accordingly.
Thank you for helping me fixing bug!
from terminal-kit.
It works well, thank you for fixing it.
from terminal-kit.
Related Issues (20)
- Document model - typed? dev branch?
- terminalkit.TextBox is not a constructor HOT 3
- document: InlineInputField only widthPercent breaks input
- Redraw window every "frame" HOT 1
- Word/Line wrap ERROR when x,y,width or height of TextBox are non integers
- Unable to draw the correct image in vscode dark-mode terminal!
- Can't run after packed with pkg HOT 3
- Cannot input after using term.inputField() HOT 4
- Issue: Terminal stuck in while-loop when initating another terminal with stdin/stdout
- Form control event and validation
- form render issue - hide/show control
- Erase Everything - How? HOT 1
- Possible EventEmitter memory leak
- Multiple Documents in Same Terminal Screen
- support for fonts HOT 1
- term.table does not work in Azure pipeline HOT 6
- term.table does not work in Azure pipeline HOT 1
- Unable to bundle code with dependencies HOT 5
- inputField Inline support? HOT 1
- Documentation request: cannot chain .inputField
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 terminal-kit.