> For the complete documentation index, see [llms.txt](https://tweprogrammer.twelite.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tweprogrammer.twelite.info/operation/key-operation.md).

# 操作（キー・ボタン）

ターミナル操作では `[Ctrl]` キーを含む入力がよく用いられるため、TWE Programmer 自身は `[Alt+?]` または `[Ctrl+Alt+?]`のキー操作が割り当てられています。

### Alt 操作

| 方法・解説           |                                                                                                            |
| --------------- | ---------------------------------------------------------------------------------------------------------- |
| 切断する            | <p><code>\[ターミナルを切断]</code>ボタン</p><p><code>\[Alt+I]</code>キー</p>                                           |
| 接続する            | <p><code>\[Alt+N]</code>キー（リセットせず、そのまま接続する）</p><p><code>\[Alt+R]</code>キー（リセットして接続）</p>                    |
| ハードリセットする       | `[Alt+R]`キー                                                                                                |
| + + + キーを入力する   | <p><code>\[ + + + ]</code>ボタン</p><p><code>\[Alt+P]</code></p><p></p><p>インタラクティブモードへの遷移のためのショートカットキーです。</p> |
| ターミナルの表示色を変更する  | <p><code>\[Alt+G]</code>キー</p><p></p><p>何種類かのプリセット表示色をトグルします。色はターミナル接続中のみ有効です。</p>                         |
| ターミナル表示をクリアする   | <p><code>\[clear]</code>ボタン</p><p><code>\[Alt+L]</code></p>                                                |
| 表示内容をコピーする      | <p><code>\[copy]</code>ボタン<br><code>\[Alt+C]</code></p>                                                    |
| クリップボードからペーストする | `[Alt+V]`                                                                                                  |

### Ctrl + Alt 操作

| 操作                  | 方法・解説                                                                                                                                                             |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ファームウェアファイルを開く      | <p><code>\[Ctrl+Alt+O]</code>キー</p><p></p><p>ターミナル接続中は無効です。</p>                                                                                                   |
| ファームウェアを再書き込みする     | <p><code>\[Ctrl+Alt+W]</code>キー</p><p></p><p>ターミナル接続中は、TWELITE モジュールのハードリセットを行い、再度、同じファイル名のファームウェアを書き込みます。</p>                                                    |
| ファームウェアを消去する        | <p><code>\[Ctrl+Alt+E]</code> キー</p><p></p><p>ファームウェアのフラッシュ領域を消去します。ターミナル接続中は、無効です。</p>                                                                           |
| ターミナルの描画方式を変更する     | <p><code>\[Ctrl+Alt+D]</code> キー</p><p></p><p>ターミナルの表示更新が頻繁でちらつきが気になる場合にはダブルバッファ方式に設定します。ダブルバッファ方式では、カーソル（キャレット）が表示されず使用できない、マウス操作時などに描画が乱れることがあるといった制限があります。</p> |
| TWE Programmerを終了する | `[Ctrl+Alt+X]` キー                                                                                                                                                 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://tweprogrammer.twelite.info/operation/key-operation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
