Skip to content

Prompt is printed twice when exiting nanoΒ #1376

@anthonyvdotbe

Description

@anthonyvdotbe

"OpenSSH for Windows" version
7.7.2.2

Server OperatingSystem
Raspbian GNU/Linux 9 (stretch)

Client OperatingSystem
Windows 10 Pro (version 1809)

What is failing
To reproduce:
. run ssh pi@foo
. enter "nano"
. press Ctrl+X to exit nano

At this point, the prompt is printed twice.
I have also tried with $env:TERM = 'xterm', but this didn't help.

Expected output

pi@foo:~ $ nano
pi@foo:~ $ 

Actual output

pi@foo:~ $ nano
pi@foo:~ $ pi@foo:~ $

Not sure if this helpful, but when connecting with -vvv, the actual output is as follows:

pi@sardien:~ $ nano
pi@sardien:~ $ debug2: client_check_window_change: changed
debug2: channel 0: request window-change confirm 0
debug3: send packet: type 98
pi@sardien:~ $ debug2: client_check_window_change: changed
debug2: channel 0: request window-change confirm 0
debug3: send packet: type 98

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions