Previously, three similar callback fuctions were used in console
code. This patch unifies these functions to ease maintenance cost.
Fixes: 8aad3a7edeb2 ("Cygwin: console: Fix a problem that minor ID is incorrect
in ConEmu.")
Suggested-by: Johannes Schindelin
Signed-off-by: Takashi Yano
---
Fixes: 3721a756b0d8 ("Cygwin: console: Make the console accessible from other
terminals.")
Signed-off-by: Takashi Yano
---
winsup/cygwin/fhandler/pty.cc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/fhandler/pty.cc b/winsup/cygwin/fhandler/pty.cc
index