An open API service indexing awesome lists of open source software.

https://github.com/bod/klibminitel

A Kotlin (JVM) library to interact with the Minitel
https://github.com/bod/klibminitel

Last synced: 4 months ago
JSON representation

A Kotlin (JVM) library to interact with the Minitel

Awesome Lists containing this project

README

          

# klibminitel

A Kotlin (KMP) library to interact with the [Minitel](https://en.wikipedia.org/wiki/Minitel).

## Usage

```kotlin
implementation("org.jraf:klibminitel:1.3.1")
```

```kotlin
val minitel = Minitel(filePath)
minitel.connect {
screen.disableAcknowledgement()
screen.localEcho(false)
screen.clearScreenAndHome()
screen.print("Hello, World!")

coroutineScope.launch {
system.collect { e ->
onSystemEvent(e, screen)
}
}

keyboard.collect { e ->
onKeyboardEvent(e, screen)
}
}
```

Full KDoc is available [here](https://github.com/BoD/klibminitel/tree/master/docs).

## Author and License
```
Copyright (C) 2019-present Benoit 'BoD' Lubek (BoD@JRAF.org)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```