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

term.ui: handle middle mouse button events and modifier keys (#6821)

This commit is contained in:
spaceface777
2020-11-14 08:14:54 +01:00
committed by GitHub
parent 5069be04a2
commit 6b47c61fe4
6 changed files with 94 additions and 59 deletions

View File

@@ -9,15 +9,6 @@ pub fn init(cfg Config) &Context {
cfg: cfg,
read_buf: []byte{ cap: cfg.buffer_size }
}
ctx.save_title()
if cfg.hide_cursor {
print('\x1b[?25l')
}
if cfg.window_title != '' {
print('\x1b]0;$cfg.window_title\x07')
}
// lmao
unsafe {