IntelliJ IDEA: send EOF symbol to Java application

前端 未结 2 820
甜味超标
甜味超标 2021-01-01 09:50

When running a command-line Java application from IntelliJ IDEA, is it possible to send EOF symbol to the program awaiting input? In console this can be done using ctrl-d co

2条回答
  •  天命终不由人
    2021-01-01 10:25

    It's been implemented, use Ctrl+D / ⌘+D on Mac. https://www.jetbrains.com/idea/help/debug-tool-window-console.html

提交回复
热议问题