T06a forms text: text input core, fields, numbers, masks, pin, inline, groups, tags, pairs, path, regex, expression, hotkey, mention

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 05:38:24 -04:00
1 parent 817da41c22
commit ec5713c10b
41 files changed
+6233 -45

No files matched your search

+3 -1
View File
@@ -1,6 +1,7 @@
mod assets;
pub mod buttons;
pub mod forms;
pub mod layout;
pub mod motion;
pub mod primitives;
@@ -14,7 +15,7 @@ use gpui::{App, KeyBinding};
use crate::primitives::{FocusNext, FocusPrev, IconName};
/// Loads fonts and the theme, binds Tab. Call once, first.
/// Loads fonts and the theme, binds Tab and text keys. Call once, first.
pub fn init(cx: &mut App) {
match cx.asset_source().load(IconName::Check.path()) {
Ok(Some(_)) => {}
@@ -27,4 +28,5 @@ pub fn init(cx: &mut App) {
KeyBinding::new("tab", FocusNext, None),
KeyBinding::new("shift-tab", FocusPrev, None),
]);
forms::bind_keys(cx);
}