-
Notifications
You must be signed in to change notification settings - Fork 8
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
cursor is buggy on nodeos #14
Comments
@maxogden I'd be happy to take a look at this but whats the easiest way to grab NodeOS to test this? I see on its site its using docket but apart from that can't find much in the way of instructions on how to install and get up and running ? cc @jacobgroundwater |
Hey guys! this is cool. I will say first off, this is very likely a problem with something on NodeOS, but perhaps there is an easy fix in hipster. NodeOS uses https://github.com/jacobgroundwater/node-bin-nsh as its default shell, a very very simple shell. @maxogden try running @maks if you have a linux VM with Docker, it's just A great deal of this project involves me hacking in the dark, so if you know someone who has mastered the dark arts of tty/terminal hacking I will listen dutifully. |
Hey! funny you should mention this, because I was just on the bus and had an idea about a simple way to make this much better! for now, though, there is an escape sequence to position the cursor, which you can access via I would put something in to reposition the cursor to the correct location after updating the line number. It could also be that something about the tty stuff on nodeos doesn't handle the repositioning escape characters correctly. I'd probably try running through the examples on substack/charm and see if they work. there could be a bigger problem with nodeos. |
Looking at nsh.js it looks like it doesn't interfere with stdin/out so I think this is more likely the terminal that NodeOS via docker is running inside of. From the screen cast I can't make out what it is but it would be an idea to test using hipster directly on osx using the same terminal to see if you get the same issue. |
I've just made a few improvements to hipster, can you try this again with |
make that |
For the record, slap now works on NodeOS :-) |
on NodeOS hipster is the only available text editor (to my knowledge). It almost works perfectly except for the cursor:
it shows up initially but moves to the bottom right corner as soon as it gets updated
any ideas on whats causing this?
cc @jacobgroundwater
The text was updated successfully, but these errors were encountered: