mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 04:05:04 +00:00
feat: Add keyboard shortcuts info below terminal with styling
This commit is contained in:
parent
411e7f86c1
commit
89780c1283
2 changed files with 25 additions and 0 deletions
|
@ -129,6 +129,29 @@ li.active-marker {
|
||||||
.transcript-item:hover {
|
.transcript-item:hover {
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Keyboard shortcuts styling */
|
||||||
|
.keyboard-shortcuts {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #666;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.keyboard-shortcuts kbd {
|
||||||
|
background-color: #f7f7f7;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 3px;
|
||||||
|
box-shadow: 0 1px 0 rgba(0,0,0,0.2);
|
||||||
|
color: #333;
|
||||||
|
display: inline-block;
|
||||||
|
font-family: monospace;
|
||||||
|
line-height: 1;
|
||||||
|
margin: 0 2px;
|
||||||
|
padding: 3px 5px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
.asciinema-player-theme-aider {
|
.asciinema-player-theme-aider {
|
||||||
/* Foreground (default text) color */
|
/* Foreground (default text) color */
|
||||||
--term-color-foreground: #444444; /* colour238 */
|
--term-color-foreground: #444444; /* colour238 */
|
||||||
|
|
|
@ -33,6 +33,8 @@ layout: minimal
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="keyboard-shortcuts">Keyboard shortcuts: <kbd>Space</kbd> Play/pause, <kbd>f</kbd> Fullscreen, <kbd>←</kbd><kbd>→</kbd> ±5s, <kbd>Shift</kbd>+<kbd>←</kbd><kbd>→</kbd> ±10%, <kbd>[</kbd><kbd>]</kbd> Previous/next marker</div>
|
||||||
|
|
||||||
## Commentary
|
## Commentary
|
||||||
|
|
||||||
- 0:01 We're going to add a ton of new languages to aider via tree-sitter-language-pack.
|
- 0:01 We're going to add a ton of new languages to aider via tree-sitter-language-pack.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue