Skip to content

Commit

Permalink
more readme info about hotkeys and raw mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mitranim committed Sep 4, 2023
1 parent c328b5b commit e2e89c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Supported control codes with commonly associated hotkeys. Exact keys may vary be
127 ^H (MacOS) Print help.
```

Other input is forwarded to the subprocess as-is.
In slightly more technical terms, `gow` switches the terminal into [raw mode](https://en.wikibooks.org/wiki/Serial_Programming/termios), reads from stdin, interprets some ASCII control codes, and forwards the other input to the subprocess as-is. In raw mode, pressing one of these hotkeys causes a terminal to write the corresponding byte to stdin, which is then interpreted by `gow`. This can be disabled with `-r=false`.

## Gotchas

Expand Down

0 comments on commit e2e89c0

Please sign in to comment.