Releases: LEOYoon-Tsaw/squirrel
Releases · LEOYoon-Tsaw/squirrel
Paging Indicator
- Include all bug fixed between 1.0.0 and 1.0.2
- Fix Option + key under certain keyboards (e.g. in ABC Extended)
- Added paging indicator. To enable, add below to
squirrel.custom.yaml
patch:
style/show_paging: true
Screen.Recording.2024-06-23.at.14.27.27.mov
1.0: Leap to Swift
- 安裝完畢請退出當前用戶再重新登入,以便鼠鬚管正常工作。如鼠鬚管未出現在輸入法列表,請手動添加
- Please log out from current user and login again, to make sure Squirrel can work properly. If Squirrel is not listed in your Input Method list, please add it manually
- 可用於 / minimum OS: macOS 13.0+
主要更新
- 用 Swift 重寫,代碼更易維護,更易讀,貢獻代碼的門檻更低。今天就來看看源代碼,嘗試動手吧!
其它更新
style/candidate_format
格式修改爲"[label]. [candidate] [comment]"
,原格式仍能使用,建議遷移至更靈活、直觀的新格式style/horizontal
將徹底移除,雖然本版程序仍支持,但會被新控件的默認值覆蓋,請使用candidate_list_layout
:stacked
/linear
和text_orientation
:horizontal
/vertical
style/label_hilited_color
已移除,請使用hilited_candidate_label_color
- 在菜單欄新增日志檔案夾,方便快速進入
- 序號居中顯示,更像原生輸入法
native
配色小幅修改,減小字號,更像原生輸入法- 增加
--help
命令行選項 - bug 修復
- 偶發使用⇧輸入大寫時造成中英切換
Major Update
- Migrated code to pure Swift, which is easier to maintain, read and contribute. Build your own Squirrel today!
Other Updates
style/candidate_format
now updated to"[index]. [candidate] [comment]"
, while the old format still works, please migrate to this more readable and flexible format at your conveniencestyle/horizontal
will be dropped, it's still supported but will be overwrite by the default values of new options. Please adoptcandidate_list_layout
:stacked
/linear
andtext_orientation
:horizontal
/vertical
style/label_hilited_color
is removed, please usehilited_candidate_label_color
instead- Added a menu item for logs folder for quick access
- labels will vertically center if label font is smaller than candidate font, better matches macOS builtin IME
native
color scheme is updated with smaller font size, better matches macOS builtin IME- Added
--help
command line argument - Bug fixes:
- Occasionally, press ⇧ to enter Cap case may switch ascii mode
Update lib rime to 1.11.2
- Update librime to 1.11.2
- compiled with octagram, lua, predict
Stable Release for Ventura
- Mouse interaction:
- Use trackpad or mouse scroll to page up/down
- Hover over candidates to preview selection, click to select
- Rebased on official squirrel repo: 7de3919
Select Candidate by Mouse
Now you can select a candidate by simply clicking on it! Cheers🍻!
sample.mp4
Better Text Layout (TextKit 2)
Adopts TextKit 2, the result is more reliable text layout, especially in vertical mode, and with exotic characters like Emoji.
Two screenshots below show the difference: left is old version (Emoji overlaps with other glyphs), right is new version.
This new TextKit 2 is an effort to modernize text rendering, in theory it should also benefit the display for other scripts. Let me know if you have any comment.
P.S. This is also an elegant fix for the annoying line height alternation when Emoji shows and disappears.
Requires macOS 12+
Ventura Icon
Hilighted Candidate Shadow
- Add
style/shadow_size
:5
to specify shadow under selected candidate. Default to0
with no shadow. - Add
style/mutual_exclusive
:true
/false
to allow colors not stack on each other, and have greater flexibility in transparency. Default tofalse
- Improvements:
- Better line length calculation
- Better handling of negative border width
UI Improvements
style/memorize_size: true/false
can control if you want stable first candidate position, i.e. rime#523style/alpha: 0
is now valid, can thus will completely hide the panel- Surrounding high lights for all candidates:
- setting
preset_color_schemes/xxx/candidate_back_color
will enable them style/surrounding_extra_expansion
will control the relative size to the selected candidate's surrounding block. Can be negative.
- setting
- Various improvements:
style/border_height
andstyle/border_width
can now be negative, use in combination withstyle/corner_radius
style/line_spacing
andspacing
can now be negative.- All
font_size
can be float numbers. - labels are vertically centered when using a different
label_font_size
from the mainfont_size
- Allow simplifier to block comments when
tips
is set tonone
by addingallow_erase_comment: true
under the simplifier's settings.
Recompiled for Monterey
- Translucent background (
"style/translucency": true
) - Inline first candidate (
"style/inline_candidate": true
) - All switches will display notification when toggled