You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if it's possible to set the real cursor relative to a logical view somehow?
I'm using views.Panel and in the content buffer i want to place a real cursor but i can't find out how. I took a at the cellview example and there is just a "fake" cursor as well. I would like to use screen.SetCursor relative to my view.
Is this possible somehow?
The text was updated successfully, but these errors were encountered:
I don't believe we have given you control over the physical cursor placement. When drawing the cursor needs to move all over the place, and you probably would not like the result -- the cursor bouncing around all over the screen, or fading in and out as we turn it off while we draw stuff.
This is also specific to different terminal types (e.g. Windows is quite different than UNIX).
Is there some reason you need the actual terminal cursor?
Ah, what i meant was that i'd like to be able to place the cursor relative to the viewport.
I'm working on a terminal text editor and i have a sidebar(similar to NERDTree in vim) and a text buffer window. I'd like to use the terminal cursor(with correct colors) just like how it's done in vim.
Currently i have to use screen.SetCursor with X and Y values relative to the terminal, not to my View, so i have to add the offsets of where my view is placed if i want to display the terminal cursor.
If there's a easy way to grab the colors of the terminal cursor and apply it to the "fake" cursors, that would also work for me.
You see what i mean? Should i provide a screenshot? What do you think?
I was wondering if it's possible to set the real cursor relative to a logical view somehow?
I'm using
views.Panel
and in the content buffer i want to place a real cursor but i can't find out how. I took a at the cellview example and there is just a "fake" cursor as well. I would like to usescreen.SetCursor
relative to my view.Is this possible somehow?
The text was updated successfully, but these errors were encountered: