2 desc "Terminal file explorer"
3 homepage "https://github.com/mgunyho/tere"
4 url "https://github.com/mgunyho/tere/archive/refs/tags/v1.6.0.tar.gz"
5 sha256 "7db94216b94abd42f48105c90e0e777593aaf867472615eb94dc2f77bb6a3cfb"
7 head "https://github.com/mgunyho/tere.git", branch: "master"
10 sha256 cellar: :any_skip_relocation, arm64_sequoia: "4c9a60b3dc17b2a32d0ecf1836b3914099c6ddc58f19261dae3b5fa7166b28ae"
11 sha256 cellar: :any_skip_relocation, arm64_sonoma: "ec52070d45befb5b87f6e7785a336cd8966774c754bbc7a6f1f0107d66523b13"
12 sha256 cellar: :any_skip_relocation, arm64_ventura: "f59761f29b1ceeb7f633056dfac46d6293ef9ff320dcf3260a2e7ce5fb7d988a"
13 sha256 cellar: :any_skip_relocation, sonoma: "65ae7c433f4610971aa049108551e70bd6b89adb5dbd0966699ed4ae7ae23aab"
14 sha256 cellar: :any_skip_relocation, ventura: "1330af75bc33de620228e27758d6bdef23e1956c7a249d3f7d6f644e4d40fa00"
15 sha256 cellar: :any_skip_relocation, x86_64_linux: "9665ab7e423ec09d10dd3e85bec42d8a1e222ef3bfcfb7b229fcdafa5210d69c"
18 depends_on "rust" => :build
21 system "cargo", "install", *std_cargo_args
25 # Launch `tere` and then immediately exit to test whether `tere` runs without errors.
26 PTY.spawn(bin/"tere") do |r, w, _pid|
33 # GNU/Linux raises EIO when read is done on closed pty