fix: updated current line indicator for issue #32
This commit is contained in:
@@ -154,8 +154,10 @@ defmodule BDS.TUITest do
|
||||
assert ExRatatui.textarea_cursor(state.editor.textarea) == {0, 5}
|
||||
|
||||
cells = screen_cells(state)
|
||||
assert cell_at_text(cells, "first").bg == :dark_gray
|
||||
refute cell_at_text(cells, "second").bg == :dark_gray
|
||||
# A fixed dark grey — readable against the light syntax colours in
|
||||
# any terminal palette (the named :dark_gray is palette-dependent).
|
||||
assert cell_at_text(cells, "first").bg == {:rgb, 52, 61, 70}
|
||||
refute cell_at_text(cells, "second").bg == {:rgb, 52, 61, 70}
|
||||
end
|
||||
|
||||
test "ctrl+s persists textarea edits", %{post: post} do
|
||||
|
||||
Reference in New Issue
Block a user