LoginSignup
1
1

More than 3 years have passed since last update.

Macのバックスラッシュはオプションを添えて。

Posted at

VSCodeのターミナルでバックスラッシュを入力したかった

printしたかったので、irbで以下を入力したかった。

Ruby
print("hogehoge\n")

上記の通りにキーを叩くと以下が入力された。

irb
print("hogehoge\U+FFC2\U+FFA5n")

Macのバックスラッシュはoptionも一緒に押す

バックスラッシュ(¥)を入力するには、optionキー + ¥キーを押す。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1