Skip to content

Ctrl+D / Ctrl+L do not work in fsi repl #13944

@abonie

Description

@abonie

Ctrl+D and Ctrl+L do not work in dotnet fsi repl

Repro steps

Press Ctrl+D or Ctrl+L in an interactive session of dotnet fsi

Expected behavior

Standard cli behavior:
Ctrl+D if pressed at the beginning of a line will exit the program
Ctrl+L will clear the screen

Actual behavior

An EOT (^D) or Form Feed (^L) character is typed

 dotnet fsi

Microsoft (R) F# Interactive version 12.0.5.0 for F# 7.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

For help type #help;;

> ^D^L

Known workarounds

Use #quit (or exit) and #clear

Related information

Provide any related information (optional):

  • Operating system: Windows 11
  • .NET Runtime kind (.NET Core, .NET Framework, Mono): .NET Core, SDK version 7.0.100-rc.1.22431.12
  • Works as expected on .NET Core, SDK version 7.0.100-preview.7.22377.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions