question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Home key is not taking me to beginning of the line

See original GitHub issue

Steps to reproduce

Type any command and then press Home key on keyboard.

Expected behavior

Cursor should go to the beginning of the line.

Actual behavior

~ character is created.

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   3.0.0.0
GitCommitId                    v6.0.0-alpha.9
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
verdelyicommented, Nov 29, 2019

export TERM=putty-256color works for me in the following scenario:

  1. Start PowerShell Core 6 on Windows client
  2. SSH into Ubuntu (bash opens)
  3. Start PowerShell Core 6 on Ubuntu …meaning no actual Putty involved. Other TERM options seem to fail.
1reaction
andyleejordancommented, Aug 18, 2016

Bash uses GNU Readline, which is far more mature than .NET Core’s Console.ReadKey().

For PuTTY, I recommend https://sanctum.geek.nz/arabesque/putty-configuration/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Home button is not working
So the home button on my keyboard doesn't work. ... However, it doesn't bring to the beginning of the line for some reason....
Read more >
How to make Home key ALWAYS go to beginning of line ...
When I press Home , the cursor should move to the beginning of the line. Always. Nothing else. If it's already at the...
Read more >
How can I make the Home key put me at position 1 in ...
To me, 'start' means 'there is nothing to the left of this position', aka position 1. As in, no tabs, no spaces, no...
Read more >
Home and End Buttons on keyboard take me to the start/ ...
Pressing the home and end keys has always scrolled me to the top or bottom of the screen. Upvote 2
Read more >
[terminal] Pressing HOME no longer goes to beginning of ...
We should use `shift+Home' shortcut. 1
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found