注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。
启动新会话:
tmux [new -s 会话名 -n 窗口名]
恢复会话:
#! /usr/bin/env python | |
import threading | |
import subprocess | |
import traceback | |
import shlex | |
class Command(object): | |
""" | |
Enables to run subprocess commands in a different thread with TIMEOUT option. |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Security.Principal; | |
namespace Walterlv.Installing | |
{ |
Site Url: http://www.taiwanlii.ccu.edu.tw/keywordspicker/keyword.php?lid=1 | |
------------------------------ Javascript ------------------------------ | |
var result = "" | |
$(".table>tbody>tr>td:nth-child(2)").each(function(){ | |
result += this.innerText + "\n" | |
}) | |
console.log(result) | |
------------------------------------------------------------------------ |