Skip to content

Comment on Blinking Commits

Comments

Doesn't work in my gnome-terminal. Looks like the commands get escaped by git somehow. Did anybody test it?

Doesn't work on Xfce either. On a virtual terminal thingy (ctrl-alt-f1) it shows a grey background with white text. I suspect blink is only implemented on the Mac's terminal, not in Linux-land.

I suspect blink is only implemented on the Mac's terminal, not in Linux-land.

...Lord, when did I get so old? :/

EDIT: https://en.wikipedia.org/wiki/VT100

I suspect it's really not a terminal issue but something about git. Or does a Terminal that doesn't interpret a command print it in clear text? I just get the string back, the same way I entered it.

What?

https://en.wikipedia.org/wiki/ANSI_escape_code

It's definitely a terminal thing. The "bug" in git is that it doesn't strip out the control characters or reject the commit if the commit message contains non-text data.

You can set Xterm and Konsole to be VT100 compatible. I dunno about Gnome Terminal.

Anyway, they default to "linux" for more than a decade.

It does work in urxvt and konsole (and there's an option to turn it off). And as tempodox said, this is just VT100 stuff.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.