Fix not being able to enter . in domain field
This commit is contained in:
parent
72310d87f5
commit
4e6e413f3d
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ impl ConnectState {
|
||||||
util::handle_editor_input_event(&mut self.name, event, keys, util::is_room_char)
|
util::handle_editor_input_event(&mut self.name, event, keys, util::is_room_char)
|
||||||
}
|
}
|
||||||
Focus::Domain => {
|
Focus::Domain => {
|
||||||
util::handle_editor_input_event(&mut self.domain, event, keys, util::is_room_char)
|
util::handle_editor_input_event(&mut self.domain, event, keys, |c| c != '\n')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue