aboutsummaryrefslogtreecommitdiffstats
path: root/src/e_keys.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-05-07 20:20:20 +0200
committerJoe <rbo@gmx.us>2024-05-07 20:20:20 +0200
commit53664b1a4b62adcd744685c703c5050baaa02a08 (patch)
tree32213946dbcd2457f7fea7c0a46fa1f53fc0eef3 /src/e_keys.go
parenttext change (diff)
downloadhardflip-53664b1a4b62adcd744685c703c5050baaa02a08.tar.gz
hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.tar.bz2
hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.tar.xz
hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.tar.zst
hardflip-53664b1a4b62adcd744685c703c5050baaa02a08.zip
new opts
Diffstat (limited to '')
-rw-r--r--src/e_keys.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/e_keys.go b/src/e_keys.go
index fb07685..1fa307a 100644
--- a/src/e_keys.go
+++ b/src/e_keys.go
@@ -491,6 +491,22 @@ func e_insert_events(data *HardData, ui *HardUI, event tcell.EventKey) bool {
data.insert.Dynamic = true
}
return true
+ case INS_RDP_FULLSCR:
+ ui.insert_sel_ok = false
+ if data.insert.FullScr == true {
+ data.insert.FullScr = false
+ } else {
+ data.insert.FullScr = true
+ }
+ return true
+ case INS_RDP_MULTIMON:
+ ui.insert_sel_ok = false
+ if data.insert.MultiMon == true {
+ data.insert.MultiMon = false
+ } else {
+ data.insert.MultiMon = true
+ }
+ return true
case INS_RDP_QUALITY: return true
case INS_RDP_DRIVE + len(data.insert.Drive): return true
case INS_CMD_CMD: ui.buff = data.insert.Host