Skip to content

Conversation

@slouken
Copy link
Collaborator

@slouken slouken commented Nov 8, 2023

Fixes #3844

@vanfanel, @inolen, can you review this? I'm not sure what to do for Vulkan windows.

@vanfanel
Copy link
Contributor

vanfanel commented Nov 9, 2023

Looks good to me.
However, I don't know what to do in Vulkan either... It's been years since I did the Vulkan on TTY stuff.

@slouken
Copy link
Collaborator Author

slouken commented Nov 9, 2023

Fair enough. Thanks!

@slouken slouken merged commit f4b61ff into libsdl-org:main Nov 9, 2023
@slouken slouken deleted the kmsdrm-vtswitch branch November 9, 2023 04:35

static void kbd_vt_release_signal_action(int signum)
{
printf("kbd_vt_release_signal_action\n");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgotten debug prints?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep :)

@stsp
Copy link

stsp commented May 29, 2025

How to use this?
I am just pressing Ctrl-Alt-fX
and nothing happens.
Should the app use some
API to explicitly switch VTs?

@slouken
Copy link
Collaborator Author

slouken commented May 29, 2025

Does Alt-fX work for you? It's been years since I've looked at this.

@stsp
Copy link

stsp commented May 29, 2025

No, doesn't work either.
At the same time the app
see the keypresses properly,
as I added user to input,
so everything should work.

@slouken
Copy link
Collaborator Author

slouken commented May 29, 2025

No, doesn't work either. At the same time the app see the keypresses properly, as I added user to input, so everything should work.

Feel free to open a new issue for this, including your test environment so we can try to repro here.

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 this pull request may close these issues.

[rfe] implement console switching

3 participants