[go: up one dir, main page]

Today I Learned

tags


2021/10/13

about reset, which resets your terminal after a series of undesired ANSI escape codes. I also learned about echo -e "\e" meaning “interpret backslash escape codes” (-e) and "\e" == "\033".


2021/10/30

about terminfo, the terminal information database: it can be queried to find all kinds of fun facts about your current terminal. For instance,

Also, infocmp screen dumps a bunch of other related information drawn from terminfo.


2022/11/30

that you can option+click to change your cursor’s location in iterm2 and mac’s terminal.app! H/t Vlad Grenkov for this one :)


As of Terraform 1.3, you can write

type = optional(real_type, default_value)

See https://www.hashicorp.com/blog/terraform-1-3-improves-extensibility-and-maintainability-of-terraform-modules