v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-16 15:50:52 -07:00

20 Commits

Author SHA1 Message Date
Yin-Hsun Hong
f87b7b43ec
feat: support OSC 52 (#32)
* feat: support OSC 52

* docs: note for OSC 52
2024-08-10 14:12:15 +08:00
eeeXun
04efa4e649 refactor: move AddPage to uiInit 2023-06-30 20:59:03 +08:00
Xun
d01ef4e768
feat: support custom key mapping (#22)
* feat: support custom key mapping

* remove testing code

* feat: support function key

* style: add comment

* feat: support read config

* docs: add keymap.yaml example

* docs: add function key in README

* refactor: rename config key name

* feat: support Alt prefix

* docs: fix syntax

* feat: let exit be configurable

* refactor: remove KeyEsc in keyNames

* refactor: space to Space

* refactor: style code
2023-06-30 19:55:41 +08:00
eeeXun
9f7c7b71fa style: bad grammar in comment 2023-03-15 21:17:25 +08:00
eeeXun
edcfe4dde3 feat: show translator name in terminal title 2023-02-21 01:13:35 +08:00
eeeXun
303441125b refacotr: move hide_below to style struct 2023-02-14 15:45:51 +08:00
eeeXun
34805264b3 refactor: rename go module 2023-02-11 14:23:07 +08:00
eeeXun
06fa80ef1b style(ui): language dropdown should focus prior to translator dropdown 2023-02-08 18:02:42 +08:00
eeeXun
513ad36470 refactor: NewTranslator in for-loop
NewTranslator by name, so no need to create functions for each Translate
2023-02-03 13:30:55 +08:00
eeeXun
898ac53b97 style: rename NewLibreTranslate to NewArgosTranslate 2023-01-29 15:17:41 +08:00
eeeXun
a44d329cc7 style: rename {lang,style,keyMap}Window to {lang,style,keyMap}PopOut 2023-01-29 11:28:53 +08:00
eeeXun
3c33708f33 style: rename LibreTranslate to ArgosTranslate
LibreTranslate is an API and web-app built on top of Argos Translate
2023-01-27 16:49:33 +08:00
eeeXun
1115d19b7a feat: add translatorDropDown 2023-01-27 12:24:42 +08:00
eeeXun
0faaa757e3 feat: add libretranslate 2023-01-26 23:45:59 +08:00
eeeXun
ed2bd312a3 refactor: make translator to an interface 2023-01-26 01:15:53 +08:00
eeeXun
8f48d9be1f feat: add version 2023-01-18 14:48:43 +08:00
Xun
d99585b386
feat: add definition & part of speech (#5) 2023-01-18 14:30:44 +08:00
eeeXun
10c6877230 style: rename function & reorder function call
- rename function `translatePageHandler` to `translateWindow`
- reorder function call in `ui.go`, let function call jointed
- change the position of comment
2023-01-11 10:49:12 +08:00
eeeXun
94ec8498ac style(format): run goimports 2023-01-09 19:17:01 +00:00
eeeXun
98d1cb3392 Initial commit 2022-10-24 23:43:20 +08:00