Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I exit out of the Kotlinc command-line compiler

Tags:

kotlin

kotlinc

So, how do I exit out of the Kotlinc command-line compiler? I entered kotlinc on my terminal and played with some kotlin on my Mac and now couldn't figure how to exit. It is like the first time I tried vim. Tried ctrl+c, exit, exit(), quit , quit() aaand :q, but nothing worked!

I Searched the official documentation and couldn't find this information. Checked here on SO and I didn't find any previous question. Any help?

like image 854
Harish Avatar asked May 04 '18 10:05

Harish


1 Answers

you can quit by using the command ‘:quit’.

it's in the diagram from https://kotlinlang.org/docs/tutorials/command-line.html enter image description here

you can type ':help' for more commands available to you.

like image 184
Angel Koh Avatar answered Nov 07 '22 22:11

Angel Koh