term icon indicating copy to clipboard operation
term copied to clipboard

Add support for obtaining window size options.

Open gdamore opened this issue 6 years ago • 2 comments

This builds upon PR #45, but it could also be rebased ahead if desired. This adds a nice way for us to get the Window size, which is very useful for applications like tcell.

There is some gofmt noise, as my editor automatically runs go fmt to clean things up. If that is bothersome, let me know and I'll strip that out.

gdamore avatar Jun 25 '19 05:06 gdamore

👍 would be great to have a consolidated package for the lower level functionality, seems that most people inline this stuff in larger projects but with all the compatibility issues that's a huge pain

tj avatar Oct 01 '19 11:10 tj

It is indeed a huge pain. It looks like the maintainer of this package is not interested in PRs submitted from other folks -- which is his right certainly. If anyone else is watching this space and thinking of contributing here, it is probably something to be aware of.

gdamore avatar May 24 '20 18:05 gdamore

It is indeed a huge pain. It looks like the maintainer of this package is not interested in PRs submitted from other folks -- which is his right certainly. If anyone else is watching this space and thinking of contributing here, it is probably something to be aware of.

This repo should be archived since now Go has official support to interact with terminals: https://github.com/golang/term.

giulianopz avatar Mar 10 '23 21:03 giulianopz