問題タブ [termcap]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c - ターミナルでレイヤーを作る
I'm trying to make a simple autocompletion tool for my program, and i would it look like as this picture : https://github-camo.global.ssl.fastly.net/ac6492f955c9d8027b6f691e1e3df6052fa16599/687474703a2f2f6e6f736d696c65666163652e72752f696d616765732f63636f6465322e706e67
これを作るのを手伝ってくれるtermcapsはいますか? 少し「て」「ち」な能力として?
ありがとうございました。
tty - なぜ terminfo[kcuu1] = '\EOA' なのですか?
私が読んでわかることからterminfo(5)、 kcuu1 は、上向き矢印が押されたときに端末が送信するシーケンスである必要があります。^[[A私はそれが(今話していることcat、端末設定のめちゃくちゃなど)以外のものを見たことはありません。それで、私が使用した端末 (rxvt、gnome-terminal、iTerm) はすべてデフォルトで TERM=xterm になっているのに、なぜ kcuu1 ではないのでしょ\E[Aうか?
cuu1が であることがわかります\E[Aが、(man ページから、再び)、それは、端末が私に送信する文字列ではなく、カーソルを移動するために端末に送信する必要がある文字列です。
ところで、これはOS Xの場合です。
linux - Linux manpages プログラムが端末を消去しない理由
man プログラムは、画面全体を引き継いだ後、以前の端末出力をどのように復元しますか? ある意味でANSIエスケープシーケンスが関係していますか?