From 570ecd3f833b96ce003144ebdf7da516118a5908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Kov=C3=A1cs?= Date: Sun, 20 Aug 2023 07:00:07 +0200 Subject: [PATCH] Fix cells not updated with non-ascii text --- src/Library/TerminalUI/Controls/View.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Library/TerminalUI/Controls/View.cs b/src/Library/TerminalUI/Controls/View.cs index 79d394c..1efbf9f 100644 --- a/src/Library/TerminalUI/Controls/View.cs +++ b/src/Library/TerminalUI/Controls/View.cs @@ -1,4 +1,4 @@ -using System.Buffers; +using System.Buffers; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; @@ -273,8 +273,8 @@ public abstract partial class View : IView where TConcrete : Vi throw new Exception("Control character"); } - if (updateCellsOnly) continue; UpdateCells(renderContext.UpdatedCells, currentPosition, text.Length, 1); + if (updateCellsOnly) continue; try {