fix(renderer): use mapNl optimization when not on Windows and no PTY input (#1615)