mruby-bin-mirb: remove unused cursor save/restore functions

mirb_term_save_cursor() and mirb_term_restore_cursor() were never
called anywhere in the codebase.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-12-22 11:22:22 +09:00
parent c418fc90a8
commit c777762c9a
2 changed files with 0 additions and 18 deletions
@@ -347,15 +347,3 @@ mirb_term_clear_below(void)
{
printf("\033[J");
}
void
mirb_term_save_cursor(void)
{
printf("\033[s");
}
void
mirb_term_restore_cursor(void)
{
printf("\033[u");
}
@@ -108,12 +108,6 @@ void mirb_term_clear_to_end(void); /* clear from cursor to end of line */
void mirb_term_clear_screen(void); /* clear entire screen */
void mirb_term_clear_below(void); /* clear from cursor to end of screen */
/*
* Cursor position save/restore
*/
void mirb_term_save_cursor(void);
void mirb_term_restore_cursor(void);
/*
* Update terminal size information
*/