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)
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
sopsdirectly 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
nvimornanoas$EDITOR, but not with plainvim.vimworks fine, but prints a warning:Vim: Warning: Output is not to a terminal.Steps to reproduce
rmk secret editSystem info