Skip to content

Commit d064af4

Browse files
committed
Small changes
1 parent f0110a0 commit d064af4

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ After that click on the extension icon in browser
2323

2424
### 1. Install native manifest & build extension
2525
```
26-
pnpm native-manifest install
27-
pnpm build
26+
yarn manifest:install
27+
yarn build
2828
```
2929

3030
### 2. Install extension to firefox
3131
1. Navigate to ``about:debugging#/runtime/this-firefox``
3232
2. Click ``Load temporary Add-on...``
33-
3. Choose ``dist`` folder in the file picker
33+
3. Choose ``manifest.json`` in ``dist`` folder in the file picker

native/process_unix.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ func processCommands(c chan map[string]any, cmd *exec.Cmd) {
8484
}()
8585

8686
for msg := range c {
87-
if command, exits := msg["command"]; exits {
87+
if command, exists := msg["command"]; exists {
8888
ptmx.WriteString(command.(string))
89-
} else if signal, exits := msg["signal"]; exits {
89+
} else if signal, exists := msg["signal"]; exists {
9090
cmd.Process.Signal(signal.(os.Signal))
9191
}
9292
}

src/css/terminal.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ body {
4040
.window-header {
4141
padding: 5px 10px 0 10px;
4242
display: flex;
43-
flex-direction: row;
4443
justify-content: space-between;
44+
gap: 20px;
4545

4646
.header-title {
4747
font-size: large;
4848
font-weight: bold;
49+
flex-grow: 1;
4950
}
5051
}
5152

src/html/terminal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<div class="window-header">
2020
<div class="header-title">Browser terminal</div>
2121

22-
<div>
22+
<div class="header-buttons">
2323
<button id="new_tab_button">+</button>
2424
<button id="kill_button">x</button>
2525
</div>

0 commit comments

Comments
 (0)