commit 064189648a6d6a476e0a0bc59028ff6efb5a8dac
parent ef01f3c72a195dbce682184c842b81b17d7d7ad1
Author: emendelson <em36@columbia.edu>
Date: Tue, 26 May 2020 11:37:51 -0400
Remove interfering error message
This error message makes it impossible to use xsel in many workflows. I don't think anything is lost by removing it.
Also, I've been told by people who have tested this that the isatty() check is not helpful because it returns true; also for pty.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/xsel.c b/xsel.c
@@ -2281,7 +2281,6 @@ main(int argc, char *argv[])
old_sel[xs_strlen (old_sel) - 1] != '\n')
{
fflush (stdout);
- fprintf (stderr, "\n\\ No newline at end of selection\n");
}
}
}