Método readLineSync dúvida #142
Unanswered
marcos1martins
asked this question in
Perguntas e Respostas
Replies: 1 comment
-
Por padrão, os aplicativos são executados no Console de Depuração, "debugConsole" onde a entrada é usada como um REPL para avaliar expressões. Se você quiser interagir com o stdin, precisará configurar o aplicativo para ser executado no Terminal. Você pode fazer isso com uma configuração de inicialização:
Ou você pode definir a configuração dart.cliConsole no VS Code:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
por que quando rodo esse código, ele não passa da linha que lê o teclado?
li na documentação que é isso:
Blocks until a full line is available.
Lines my be terminated by either or . On Windows, in cases where the [stdioType] of stdin is [StdioType.terminal], the terminator may also be a single .
mas não sei o que fazer pra terminar a linha, não entendi esse
<CR>
. não era pra ser só enter?Beta Was this translation helpful? Give feedback.
All reactions