Skip to content

Commit 064775a

Browse files
committed
refactor: rename payload in candidate info to word
1 parent a11f1ff commit 064775a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/tsf/src/tsf_key_event_service.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace scriptorium::brush::infra::tsf {
4747
const std::string req_data = felt::service::input_protocol_service::build_key_event_request(key_event);
4848
const std::string response = input_protocol_ipc_client_->sync_send(req_data);
4949
const auto [type, candidate_info] = felt::service::input_protocol_service::parse_instruction_response(response);
50-
const auto content = candidate_info.payload;
50+
const auto content = candidate_info.word;
5151
const auto is_commit = type == felt::core::protocol::input::v1::message_type::COMMIT;
5252

5353
if (pic != nullptr && client_id_ != TF_CLIENTID_NULL) {

0 commit comments

Comments
 (0)