mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-21 01:50:36 -07:00
remap
This commit is contained in:
parent
96ab014d93
commit
bf24cc548d
@ -4,6 +4,7 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// search XDG_CONFIG_HOME or $HOME/.config
|
||||
func configInit() {
|
||||
var defaultConfigPath string
|
||||
|
||||
|
2
ui.go
2
ui.go
@ -133,7 +133,7 @@ func translatePageHandler(event *tcell.EventKey) *tcell.EventKey {
|
||||
src_box.SetText(dst_text, true)
|
||||
}
|
||||
dst_box.SetText(src_text)
|
||||
case tcell.KeyCtrlN:
|
||||
case tcell.KeyCtrlO:
|
||||
message := src_box.GetText()
|
||||
if len(message) > 0 {
|
||||
err := translator.PlaySound(translator.srcLang, message)
|
||||
|
Loading…
x
Reference in New Issue
Block a user