1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

term.ui: allow setting the terminal title (#6809)

This commit is contained in:
spaceface777
2020-11-13 14:30:47 +01:00
committed by GitHub
parent 7feb1742d3
commit c315218ed1
8 changed files with 103 additions and 83 deletions

View File

@@ -1,10 +1,22 @@
module ui
const (
not_implemented_yet = "term.input: error: Windows support isn't implemented yet"
)
pub fn init(cfg Config) &Context {
panic("term.input: error: Windows support isn't implemented yet")
panic(not_implemented_yet)
return &Context{}
}
pub fn (mut ctx Context) run() {
panic("term.input: error: Windows support isn't implemented yet")
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)
}