ConEmu
ConEmu copied to clipboard
Suppressing Warnings for (Large) Pastes
Versions
ConEmu build: 190331 preview (x64) OS version: Windows 10 x64 Used shell version : cmd
First of all, I'm a big fan of ConEMU and wish Windows would integrate some of the features - great work!
Problem description
I frequently paste multiple long strings (~100 charachters per string / ~30 strings per paste) to have batch actions runs in a ConEMU session. Although they successfully complete, before they process I must acknowledge two different warnings (below) many times a day. They both appear per paste - not per console session. I've been unable to find a setting to suppress them so wanted to ask if there was a way to do so?
1st Warning Warning! Pasting multi-line text involves sending <Enter> keypresses to console! Continue?
Warning 2 Warning! Pasting long test (3002 chars) may make the console non-responsive until the paste finishes! Continue?
Steps to reproduce
- Launch ConEMU session with default configuration
- Copy ~3000 charachters comprised of multiple strings to clipboard
- Paste into ConEMU for execution
Actual results
Two warnings appear and each must be acknowledged to continue. The two warnings appear per paste - not per session.
Expected results
Configure ConEMU to suppress both warnings so that similar pastes work as desired immediately
Thank You!
So, what's the problem? Just configure them. https://conemu.github.io/en/SettingsPaste.html
There are a lot of settings and two pop ups by default is a bit much? Pasting more than 200 characters and with a few newlines isn't something that uncommon or serious that multiple alerts get thrown by default.
I don't have any user metrics to back up this assertion(or know why the default value is 200) but since both features can be useful if the "false positive" rate was lowered or if accepting two popups about the action was reduced to 1. Seems like adding a 0 to the default value of the long line warning would be more in line of an action requiring a manual acceptance.
That being said, it took more time to type this than it took to disable them
Current warning actually not very useful: really helpful would be to read clipboard data and show it in the warning message (or at least part of it). And if user agrees then paste already read data to terminal. It would protect user from some mistakes as well as from substitution of clipboard data type of attack and will be practical and useful. And with this implementation it could be just a single warning.