When no command is running in fsi, pressing ctrl-c prints - Interrupt in the console.
fsi
> sdasdsaasd^C
- Interrupt
printn "asdasd";;
sdasdsaasdprintn "asdasd";;
^^^^^^^^^^^^^^^^
stdin(6,1): error FS0039: The value or constructor 'sdasdsaasdprintn' is not defined.
I propose it clear the input instead, like in some other CLIs and shells
psql
/ # psql -U postgres
psql (18.3)
Type "help" for help.
postgres=# dsadaad^C
postgres=#
ps
PS C:\Users\x> dasdasdasd^C
PS C:\Users\x>
When no command is running in fsi, pressing ctrl-c prints
- Interruptin the console.fsi
I propose it clear the input instead, like in some other CLIs and shells
psql
ps