Press and Hold not working in text editor

PressAndHold is not working on cursor. Like if press j and hold
it, it should keep printing j.

This works on vscode.
This works in the terminal in cursor. just not in the editor.

I got to work by pasting these command in the terminal for vscode


defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false              # For VS Code
defaults write com.microsoft.VSCodeInsiders ApplePressAndHoldEnabled -bool false      # For VS Code Insider
defaults write com.vscodium ApplePressAndHoldEnabled -bool false                      # For VS Codium
defaults write com.microsoft.VSCodeExploration ApplePressAndHoldEnabled -bool false
1 Like