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

Keyboard support for moving cursor #17

Open
sqbi-q opened this issue Jun 21, 2022 · 1 comment
Open

Keyboard support for moving cursor #17

sqbi-q opened this issue Jun 21, 2022 · 1 comment

Comments

@sqbi-q
Copy link

sqbi-q commented Jun 21, 2022

I've experienced lack of keyboard support for moving cursor on canvas, for example with arrow keys. There is text string drawing tool, but it only allows for inserting text in one line, beginning from clicked spot - which limits movement.

Feature allowing to draw characters while typing (as in text string) and moving cursor with arrow keys could enhance efficiency of drawing with keyboard. Similar feature exists in Texel, which also supports mouse input in terminal.

On the other hand I am not sure if it wouldn't be against Tart's philosophy of drawing ASCII art in the terminal with your mouse.

@jtdaugherty
Copy link
Owner

Hi @sqbi-q - thanks for opening this. Adding features along these lines wouldn't be against the philosophy of the tool. If anything the main limitation is my time, since this was a hobby project I created years ago and I don't do much these days to extend it. I'm happy to support people who want to contribute to it, though.

As for your specific requests, I could enable arrow key navigation while editing text pretty easily. I'll see about doing that soon.

Allowing for mouse drawing while editing text would not be nearly as straightforward, but not because it isn't easy to program: more because it is not entirely clear to me that it would be a good idea because then the mouse drawing interaction with the text-in-editing needs to be sensible. I'm just not sure how that could work well, and given that this is a dormant hobby project, I don't feel inclined to spend a ton of time on thinking about the issues that would need to be addressed.

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

2 participants