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

rmk secret edit does not capture keyboard input on linux #8

Open
ilya-zlobintsev opened this issue Jun 5, 2024 · 0 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@ilya-zlobintsev
Copy link

ilya-zlobintsev commented Jun 5, 2024

Description

When using rmk secret edit, the opened editor does not capture key presses - instead of passing keys to the terminal, it just overwrites whatever the terminal was showing before.

When using sops directly to edit the file this issue does not occur.

Video showcasing the problem:
https://github.com/edenlabllc/rmk/assets/22796665/614b78b5-57af-47ca-9274-ca08bdc00ab3

Extra info: this issue happens when using either nvim or nano as $EDITOR, but not with plain vim. vim works fine, but prints a warning: Vim: Warning: Output is not to a terminal.

Steps to reproduce

  • Be on Linux
  • Open secrets file in an editor with rmk secret edit
  • Try using the editor

System info

  • rmk version: 0.42.0
  • OS: Fedora 40
  • Shell: fish (also tried with zsh, the problem remains)
  • Terminal: alacritty ($TERM variable: xterm-256color)
anovikov-el added a commit that referenced this issue Jun 6, 2024
…xt-switch-instructions

#8 - Improve RMK context switch documentation.
@anovikov-el anovikov-el added the bug Something isn't working label Jun 20, 2024
@anovikov-el anovikov-el added this to the RMK milestone Jul 9, 2024
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