slap-editor / slap

Sublime-like terminal-based text editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slap needs to open a blank buffer or at least print an error if it can't find its target

DamnedScholar opened this issue · comments

I have both a Windows 10 machine running cmd and a Manjaro machine running zsh and in both cases, if I try to invoke slap with a file name that doesn't exist, it thinks for a little while and then drops me back at the prompt with no indication of why it failed to open. Standard behavior for editors is to open a blank buffer if they can't find a target with that name (nano, emacs, and atom invocations all act like that).

I can confirm. I may not have time this week to fix it, but if it's urgent feel free to file a PR and I will take a look at it when I can! Thanks for reporting.