mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user