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

ctrl+z isn't forwarded to the shell to put ncspot in the background. #1040

Closed
ThomasFrans opened this issue Feb 1, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@ThomasFrans
Copy link
Contributor

Describe the bug
Applications like NeoVim forward certain keypresses to the shell so the previous functionality still works in the application. One of those things is ctrl+z which puts the app into the background, and can be undone by typing fg into the shell.

To Reproduce
In ncspot, type ctrl+z. The app should 'close' and go into the background. This doesn't happen as I think ncspot just ignores the keypress.

Expected behavior
Ncspot is put into the background.

System:

  • OS: Arch Linux
  • Terminal: Alacritty
  • Version: 0.12.0
  • Installed from: Arch Linux community repository

Additional context
Add any other context about the problem here.

@ThomasFrans ThomasFrans added the bug Something isn't working label Feb 1, 2023
@hrkfdn hrkfdn closed this as completed in 2fe3b05 Feb 6, 2023
@hrkfdn
Copy link
Owner

hrkfdn commented Feb 6, 2023

Hi @ThomasFrans, thanks for the report. This is now possible when building with the ncurses backend. By default ncspot uses termion_backend for maximum platform compatibility, but on UNIX systems pancurses_backend is a solid choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants