Skip to content

Commit

Permalink
Add tty-mode-reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ober committed Aug 6, 2019
1 parent dfb11ad commit eef500c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion doc/reference/core-prelude.md
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,9 @@ OS-related symbols, including time.
tty?
tty-history tty-history-set! tty-history-max-length-set!
tty-text-attributes-set! tty-mode-set! tty-type-set!
tty-text-attributes-set! tty-mode-reset tty-mode-set!
tty-type-set!
```
#### :gerbil/gambit/ports
Expand Down
3 changes: 2 additions & 1 deletion src/bootstrap/gerbil/core.ssxi.ss
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,8 @@ package: gerbil
create-symbolic-link

tty-history-set! tty-history-max-length-set!
tty-text-attributes-set! tty-mode-set! tty-type-set!
tty-text-attributes-set! tty-mode-reset tty-mode-set!
tty-type-set!

input-port-timeout-set!
output-port-timeout-set!
Expand Down
1 change: 1 addition & 0 deletions src/bootstrap/gerbil/gambit/os.ssi
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,6 @@ namespace: gerbil/gambit/os
(tty-history-set! tty-history-set!)
(tty-history-max-length-set! tty-history-max-length-set!)
(tty-text-attributes-set! tty-text-attributes-set!)
(tty-mode-reset tty-mode-reset)
(tty-mode-set! tty-mode-set!)
(tty-type-set! tty-type-set!)))
4 changes: 3 additions & 1 deletion src/gerbil/prelude/core.ssxi.ss
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,9 @@ package: gerbil
create-symbolic-link

tty-history-set! tty-history-max-length-set!
tty-text-attributes-set! tty-mode-set! tty-type-set!
tty-text-attributes-set! tty-mode-reset tty-mode-set!
tty-type-set!


input-port-timeout-set!
output-port-timeout-set!
Expand Down
3 changes: 2 additions & 1 deletion src/gerbil/prelude/gambit/os.ss
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,6 @@ package: gerbil/gambit
;; tty stuff
tty?
tty-history tty-history-set! tty-history-max-length-set!
tty-text-attributes-set! tty-mode-set! tty-type-set!
tty-text-attributes-set! tty-mode-reset tty-mode-set!
tty-type-set!
)

0 comments on commit eef500c

Please sign in to comment.