Skip to content

ctrl-c should clear fsi input #20590

Description

@kerams

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions