A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/text/cursor.rs')
| -rw-r--r-- | src/text/cursor.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/text/cursor.rs b/src/text/cursor.rs index b98793b..37f6937 100644 --- a/src/text/cursor.rs +++ b/src/text/cursor.rs @@ -157,6 +157,7 @@ impl Cursor { self.setc(r); self.set_ho(); } + #[lower::apply(saturating)] pub fn at_(self, r: &Rope) -> char { r.get_char(*self - 1).unwrap_or('\n') } |