[Jinzan] [Login]
146

how to adjust text line spacing on macos terminal

it's a annoying detail while generating qrcode on terminal

Full Link //n.sfs.tw/15624

Copy Link how to adjust text line spacing on macos terminal@der amateur
(Welcome to reprint and indicate the source when reproducing.)
2022-03-02 22:02:31 Last edition
2022-03-02 21:59:19 By
 

recently I used the qrencode tool to generate qrcode for wireguard vpn tunnel configuration importing,

everything is fine while using qrencode tool on ubuntu terminal,

but the text line spacing is annoying on macos terminal,

in default settings, macos set the line spacing for 1 line,

sounds good, right?

however, if you ran qrencode tool on it,

the result will look like below,

as you can see, the space between text lines are enormous,

nearly made the qrcode unable to be read,

so I did some searching on internet,

here's the resulution,

opens the terminal preferences on macos,

goes to font section, clicks on the [chage] button next to the font name like this,

 

adjusts the line spacing bar to make the spaces between lines are smaller than 1 line

my situation is set to 0.78

 

then everything looks smoothly again,

just like that!

reference on stack exchange: https://superuser.com/questions/350821/how-can-i-change-the-line-height-in-terminal-osx

 

END

You may be interested

how to modify a service's ulimits on host OS modify ulimits

JIRA instance migration phase3: upgrading jira trying to upgrade jira from 7.6.1 to 8.x

packages before adding as module into Intellij IDEA project, need to handle git repostory first. if you wish doing VCS for your code packages, do git setup first, before adding them into Intellij IDEA

how to rename git branch rename git branch

JIRA instance migration phase2: install node.js and chinese fonts install node.js to export PDF though BigPicture plugin

how to adjust text line spacing on macos terminal it's a annoying detail while generating qrcode on terminal

random articles

dealing with virtualbox installation on ubuntu 22.04LTS trouble shooting on virtualbox installation