* fix: Handle platform specific PTY polling for terminal copy * fix: Code review fixes * fix: Code review fixes