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

Unable to change cursor type with escape sequences #128

Open
Ingvix opened this issue Jul 10, 2022 · 1 comment · May be fixed by #129
Open

Unable to change cursor type with escape sequences #128

Ingvix opened this issue Jul 10, 2022 · 1 comment · May be fixed by #129

Comments

@Ingvix
Copy link

Ingvix commented Jul 10, 2022

I use vi(m)-like modes in multiple programs and like the cursor to be block in normal mode and a pipe in insert mode but dvtm doesn't seem to pass the escape sequences to my terminal.

@Ingvix
Copy link
Author

Ingvix commented Jul 30, 2022

I've inspected the code a bit and it appears escape sequences are handled in vt.c while sending them to the terminal emulator is only done in dvtm.c when it sets the window title. Were I to attempt implementing this, should I follow the example of catching the escape sequence in vt.c and sending it forward in dvtm.c or would it be acceptable to printf() it in vt.c itself?

EDIT: Nevermind, I realized cursor type should be window dependent so it will require additions to both files.

@Ingvix Ingvix linked a pull request Aug 10, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant