Add BOM check

This commit is contained in:
yt2b 2022-12-25 11:15:29 +09:00
parent 6fc0d42d4a
commit db91adbcc3

View file

@ -236,6 +236,10 @@ where
lxr.window.slide();
lxr.window.slide();
lxr.window.slide();
// Check if BOM exists
if let Some('\u{feff}') = lxr.window[0] {
lxr.window.slide();
}
// Start at top row (=1) left column (=1)
lxr.location.reset();
lxr