Fix telopt table.

This commit is contained in:
Condorra 2024-11-18 21:18:19 +11:00
parent 782fcfe97f
commit 26c50e8ab3

View File

@ -524,11 +524,11 @@ pub fn configure_telopt_table<'gc>(ctx: Context<'gc>, table: &Table<'gc>) {
.set(ctx, "naws", NAWS_TELOPT.0)
.expect("Can't set NAWS in telopt table");
table
.set(ctx, "naws", NAWS_TELOPT.0)
.expect("Can't set NAWS in telopt table");
.set(ctx, "gmcp", GMCP_TELOPT.0)
.expect("Can't set GMCP in telopt table");
table
.set(ctx, "termtype", TERMTYPE_TELOPT.0)
.expect("Can't set GMCP in telopt table");
.expect("Can't set TERMTYPE in telopt table");
}
#[cfg(test)]