Skip to content

Instantly share code, notes, and snippets.

Nobody but the author has permission to use this.
You're on your own. I make no promises. Caveat emptor
diff --git i/ThirdParty/PSMTabBarControl/source/PSMRolloverButton.h w/ThirdParty/PSMTabBarControl/source/PSMRolloverButton.h
index 25a866692..971972f74 100644
--- i/ThirdParty/PSMTabBarControl/source/PSMRolloverButton.h
+++ w/ThirdParty/PSMTabBarControl/source/PSMRolloverButton.h
@@ -22,7 +22,7 @@
@end
-NS_AVAILABLE_MAC(26)
+//NS_AVAILABLE_MAC(26)
class BusyList:
def __init__(self):
self._producers = []
def remove(self, producer):
self._producers.remove(producer)
def add(self, producer):
if producer not in self._producers:
self._producers.append(producer)
use std::env;
pub fn term_features_has_p() -> bool {
let Ok(value) = env::var("TERM_FEATURES") else {
return false;
};
let mut current = String::new();
for ch in value.chars() {
Mac:/Users/gnachman/git/iterm2% make paranoidNMSSH -j16
/usr/bin/sandbox-exec -f deps.sb /Applications/Xcode.app/Contents/Developer/usr/bin/make NMSSH
echo begin configure-armopenssl
begin configure-armopenssl
mkdir -p submodules/openssl/build-arm
cd submodules/openssl/build-arm && ../Configure darwin64-arm64-cc no-asm -Wl,-ld_classic && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean && /Applications/Xcode.app/Contents/Developer/usr/bin/make build_generated
Configuring OpenSSL version 3.4.0 for target darwin64-arm64-cc
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
User runs `ssh-wrapper example.com`
`ssh-wrapper` does:
`ssh example.com /usr/bin/env sh -c "$(cat conductor.sh)"
Where `conductor.sh` is a sh script that does something like (pseudoterminal below):
echo <control sequence to notify terminal emulator that it's in ssh mode>
run login shell as a child process through `script` on file descriptor 3
while true:
output = [read from file descriptor 3 without blocking]

Keybase proof

I hereby claim:

  • I am gnachman on github.
  • I am iterm2 (https://keybase.io/iterm2) on keybase.
  • I have a public key whose fingerprint is 8B55 5615 6DB7 B5A4 4C93 3018 3225 C306 16D4 4CCA

To claim this, I am signing this object:

#!/usr/bin/env python3.7
import iterm2
async def main(connection):
   app = await iterm2.async_get_app(connection)
   session = app.current_terminal_window.current_tab.current_session
   async with session.get_screen_streamer(want_contents=True) as streamer:
       while True:
#!/usr/bin/env python3.7
import iterm2
async def main(connection):
   app = await iterm2.async_get_app(connection)
   session = app.current_terminal_window.current_tab.current_session
   contents = await session.async_get_screen_contents()
   for i in range(contents.number_of_lines):