Open pberto opened 6 years ago
Maybe try this
or this
Found a workaround:
export PS1=""
Then you only get two newlines on return, still it can be improved: we really don't want that second newline!
Ok, after deep thinking here's the solution, @kelseyhightower please make sure to always execute xmodmap -e 'keycode 13='
BEFORE nocode is executed, therefore typing this:
And pressing enter (note: enter key code = 13) will produce:
This is a linux solution, osx and windows needs more thinking. Once executed, you must rehab the enter key of course. At least if you want to keep using other programs, though after using nocode why would you? It does everything already. Go out for a beer or something.
I know this sounds silly, but have you try it on iterm2?
When I execute nocode command I actually get some output, see below:
Prompt before no code:
After pressing enter:
I believe nocode should prevent user form pressing enter and avoid a new prompt line. Fix this asap please. This is fucking unacceptable.