2020-11-26 00:28:57 +01:00
|
|
|
// Copyright (c) 2020 Raúl Hernández. All rights reserved.
|
|
|
|
// Use of this source code is governed by an MIT license
|
|
|
|
// that can be found in the LICENSE file.
|
2020-11-12 12:12:51 +01:00
|
|
|
module ui
|
|
|
|
|
2020-11-13 14:30:47 +01:00
|
|
|
const (
|
|
|
|
not_implemented_yet = "term.input: error: Windows support isn't implemented yet"
|
|
|
|
)
|
|
|
|
|
2020-11-12 12:12:51 +01:00
|
|
|
pub fn init(cfg Config) &Context {
|
2020-11-13 14:30:47 +01:00
|
|
|
panic(not_implemented_yet)
|
2020-11-12 12:12:51 +01:00
|
|
|
return &Context{}
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn (mut ctx Context) run() {
|
2020-11-13 14:30:47 +01:00
|
|
|
panic(not_implemented_yet)
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn (mut ctx Context) save_title() {
|
|
|
|
panic(not_implemented_yet)
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn (mut ctx Context) load_title() {
|
|
|
|
panic(not_implemented_yet)
|
2020-11-12 12:12:51 +01:00
|
|
|
}
|