• 大小: 13.15MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-15
  • 语言: 其他
  • 标签: mac  iterm2  

资源简介

mac 操作系统下,比较好用的终端工具
用了将近一下午才下载下来的iterm2,提供给像我同样收网速限制的朋友们,

资源截图

代码片段和文件信息

#!/usr/bin/env python3.7

import asyncio
import iterm2
# This script was created with the “basic“ environment which does not support adding dependencies
# with pip.

async def main(connection):
    # This is an example of using an asyncio context manager to register a custom control
    # sequence. You can send a custom control sequence by issuing this command in a
    # terminal session in iTerm2 while this script is running:
    #
    # printf “\033]1337;Custom=id=%s:%s\a“ “shared-secret“ “create-window“
    async with iterm2.CustomControlSequenceMonitor(connection “shared-secret“ r‘^create-window$‘) as mon:
        while True:
            match = await mon.async_get()
            await iterm2.Window.async_create(connection)

# This instructs the script to run the “main“ coroutine and to keep running even after it returns.
iterm2.run_forever(main)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-02-13 07:02  iTerm.app\
     目录           0  2020-02-13 07:06  iTerm.app\Contents\
     文件        2135  2020-02-13 07:06  iTerm.app\Contents\CodeResources
     目录           0  2020-02-13 07:02  iTerm.app\Contents\_CodeSignature\
     文件       77077  2020-02-13 07:02  iTerm.app\Contents\_CodeSignature\CodeResources
     目录           0  2020-02-13 07:02  iTerm.app\Contents\MacOS\
     文件       87776  2020-02-13 07:02  iTerm.app\Contents\MacOS\image_decoder
     文件    14413248  2020-02-13 07:02  iTerm.app\Contents\MacOS\iTerm2
     目录           0  2020-02-13 07:02  iTerm.app\Contents\Resources\
     文件       15140  2020-02-13 07:02  iTerm.app\Contents\Resources\MainMenu.strings
     文件        8050  2020-02-13 07:02  iTerm.app\Contents\Resources\graphic_java.tiff
     文件         199  2020-02-13 07:02  iTerm.app\Contents\Resources\git.sb
     文件       12832  2020-02-13 07:02  iTerm.app\Contents\Resources\PrefsMouse.tiff
     文件       29632  2020-02-13 07:02  iTerm.app\Contents\Resources\iTermEditKeyActionWindowController.nib
     文件        7350  2020-02-13 07:02  iTerm.app\Contents\Resources\PTYTextViewTest-golden-nonretina-testCustomUnderline.png
     文件         800  2020-02-13 07:02  iTerm.app\Contents\Resources\rsa_pub.pem
     文件        7274  2020-02-13 07:02  iTerm.app\Contents\Resources\StatusBarIconBattery.tiff
     文件        8312  2020-02-13 07:02  iTerm.app\Contents\Resources\Erase.tiff
     文件       13454  2020-02-13 07:02  iTerm.app\Contents\Resources\Alert.tiff
     文件        8136  2020-02-13 07:02  iTerm.app\Contents\Resources\graphic_curl.tiff
     文件       10044  2020-02-13 07:02  iTerm.app\Contents\Resources\DisableTips.tiff
     文件        9277  2020-02-13 07:02  iTerm.app\Contents\Resources\iTermStatusBarKnobNumericViewController.nib
     文件       10968  2020-02-13 07:02  iTerm.app\Contents\Resources\Navigate.tiff
     文件       10028  2020-02-13 07:02  iTerm.app\Contents\Resources\SuppressAllOutput.tiff
     文件        2355  2020-02-13 07:02  iTerm.app\Contents\Resources\BroadcastInput.png
     文件        3841  2020-02-13 07:02  iTerm.app\Contents\Resources\PowerlineSolidRightArrow.pdf
     文件        7562  2020-02-13 07:02  iTerm.app\Contents\Resources\graphic_nginx.tiff
     文件       20867  2020-02-13 07:02  iTerm.app\Contents\Resources\MigrationMap.plist
     文件        7744  2020-02-13 07:02  iTerm.app\Contents\Resources\StatusBarIconClock.tiff
     文件        7864  2020-02-13 07:02  iTerm.app\Contents\Resources\graphic_database.tiff
     文件        9901  2020-02-13 07:02  iTerm.app\Contents\Resources\SplitPanel.nib
............此处省略608个文件信息

评论

共有 条评论