Open m0nhawk opened 1 month ago
I am not sure how to configure this.
When EDITOR is configured to nano, gitu is failing to open tracked/untracked files:
EDITOR
$ nano changed_file.txt ! Couldn't open editor nano due to: exited with code: 1
And after exiting gitu:
Standard input is not a terminal
I was able to narrow it down to:
$ echo "echo" | nano Standard input is not a terminal $ echo "echo" | nano - # nano editor
This is happening with GNU nano, version 8.0, but, for example, works with default "nano" (which is pico) in macOS: Pico 5.09.
GNU nano, version 8.0
Pico 5.09
Happening in both fish and zsh, so to me it looks like an issue with how gitu sends input to nano.
I am not sure how to configure this.
When
EDITOR
is configured to nano, gitu is failing to open tracked/untracked files:And after exiting gitu:
I was able to narrow it down to:
This is happening with
GNU nano, version 8.0
, but, for example, works with default "nano" (which is pico) in macOS:Pico 5.09
.Happening in both fish and zsh, so to me it looks like an issue with how gitu sends input to nano.