Dialogue fixes and tests.

This commit is contained in:
Storm Dragon committed 2026-11-06 02:13:00 -05:00
1 parent 702d9737bd
commit 4c9a267897
5 files changed
+274 -9

No files matched your search

+2 -1
View File
@@ -37,7 +37,8 @@ func TestCursorNavigationWithStatusChanges(t *testing.T) {
after := fixture("Message one", "Message two", "2/2 messages")
after.Y = 1
r.Note_input(true, false, false)
if got := r.Update(after); !reflect.DeepEqual(got, []presentation.Message{{Text: "Message two"}}) {
want := []presentation.Message{presentation.Character_message('2'), {Text: "Message two"}}
if got := r.Update(after); !reflect.DeepEqual(got, want) {
t.Fatal("status line hid focused message", got)
}
if r.review.Active() {