Description
- Node.js Version: v14.16.0
- OS: Debian 10 Linux [ 4.19.0-9-amd64 Update README for help #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux ]
- Scope (install, code, runtime, meta, other?): REPL settings
- Module (and version) (if relevant): N/A
Since the introduction of the REPL preview function, nodejs native REPL based tools have become impossible to use. Every letter I type fills my terminal window with preview information I don't want to see. When my terminal isn't full screen, it's not uncommon for the unwanted preview information to wrap 3 or 4 lines, making it very difficult for me to see what I'm trying to type.
I understand that I can set the preview attribute to false in the REPL settings object but I often don't access to the REPL config object because it's being called by some other library. Most third party REPL tools use the default settings without providing a way to override them. I'm hoping there's an environment variable of some other way that I can disable REPL preview.
This new feature is so jarring that I've refrained from upgrading past Node v10. Any help would be greatly appreciated. Please note, I'm not asking how to make REPL preview less jarring. I'm asking how I can completely disable it so that regardless of who's REPL tool I'm using, I don't see the preview output.
Steps to reproduce:
node -i
on Node version 12 or higher- type
proc
- Observe the huge stringified object that I don't care about seeing
node -i
-->