mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
tty: vt: rename setterm_command() to csi_RSB()
It follows naming of other similar functions. RSB stands here for Right Square Bracket as (obviously) ']' cannot be in the function name. Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20240202065608.14019-9-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f9ac8d4e9f
commit
cc8539cab4
|
|
@ -1969,8 +1969,14 @@ enum CSI_right_square_bracket {
|
|||
CSI_RSB_CURSOR_BLINK_INTERVAL = 16,
|
||||
};
|
||||
|
||||
/* console_lock is held */
|
||||
static void setterm_command(struct vc_data *vc)
|
||||
/*
|
||||
* csi_RSB - csi+] (Right Square Bracket) handler
|
||||
*
|
||||
* These are linux console private sequences.
|
||||
*
|
||||
* console_lock is held
|
||||
*/
|
||||
static void csi_RSB(struct vc_data *vc)
|
||||
{
|
||||
switch (vc->vc_par[0]) {
|
||||
case CSI_RSB_COLOR_FOR_UNDERLINE:
|
||||
|
|
@ -2549,8 +2555,8 @@ static void do_con_trol(struct tty_struct *tty, struct vc_data *vc, int c)
|
|||
case '@':
|
||||
csi_at(vc, vc->vc_par[0]);
|
||||
return;
|
||||
case ']': /* setterm functions */
|
||||
setterm_command(vc);
|
||||
case ']':
|
||||
csi_RSB(vc);
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user