From 3997e6c45f345bd7a9a157e81bb76569ddd6912e Mon Sep 17 00:00:00 2001 From: TQ Hirsch Date: Sun, 7 May 2023 00:48:16 +0200 Subject: [PATCH] Wired graphic rendition parsing into parsing of Change indication --- src/b3270/indication.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/b3270/indication.rs b/src/b3270/indication.rs index 0ce7d81..96cf732 100644 --- a/src/b3270/indication.rs +++ b/src/b3270/indication.rs @@ -1,4 +1,5 @@ use serde::{Deserialize, Serialize}; +use crate::b3270::types::GraphicRendition; #[derive(Serialize, Deserialize, Debug, PartialEq, Copy, Clone)] #[serde(rename_all="kebab-case")] @@ -307,8 +308,7 @@ pub struct Change { pub bg: Option, #[serde(default, skip_serializing_if="Option::is_none")] /// Graphic rendition - // TODO: parse comma-separated list of GR strings from https://x3270.miraheze.org/wiki/B3270/Graphic_rendition - pub gr: Option, + pub gr: Option, } #[derive(Serialize, Deserialize, Debug, PartialEq, Clone)]