1// Generated automatically. DO NOT HAND-EDIT. 2 3package rxvt 4 5import "github.com/gdamore/tcell/v2/terminfo" 6 7func init() { 8 9 // rxvt terminal emulator (X Window System) 10 terminfo.AddTerminfo(&terminfo.Terminfo{ 11 Name: "rxvt", 12 Columns: 80, 13 Lines: 24, 14 Colors: 8, 15 Bell: "\a", 16 Clear: "\x1b[H\x1b[2J", 17 EnterCA: "\x1b7\x1b[?47h", 18 ExitCA: "\x1b[2J\x1b[?47l\x1b8", 19 ShowCursor: "\x1b[?25h", 20 HideCursor: "\x1b[?25l", 21 AttrOff: "\x1b[m\x0f", 22 Underline: "\x1b[4m", 23 Bold: "\x1b[1m", 24 Blink: "\x1b[5m", 25 Reverse: "\x1b[7m", 26 EnterKeypad: "\x1b=", 27 ExitKeypad: "\x1b>", 28 SetFg: "\x1b[3%p1%dm", 29 SetBg: "\x1b[4%p1%dm", 30 SetFgBg: "\x1b[3%p1%d;4%p2%dm", 31 ResetFgBg: "\x1b[39;49m", 32 PadChar: "\x00", 33 AltChars: "``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 34 EnterAcs: "\x0e", 35 ExitAcs: "\x0f", 36 EnableAcs: "\x1b(B\x1b)0", 37 Mouse: "\x1b[M", 38 SetCursor: "\x1b[%i%p1%d;%p2%dH", 39 CursorBack1: "\b", 40 CursorUp1: "\x1b[A", 41 KeyUp: "\x1b[A", 42 KeyDown: "\x1b[B", 43 KeyRight: "\x1b[C", 44 KeyLeft: "\x1b[D", 45 KeyInsert: "\x1b[2~", 46 KeyDelete: "\x1b[3~", 47 KeyBackspace: "\u007f", 48 KeyHome: "\x1b[7~", 49 KeyEnd: "\x1b[8~", 50 KeyPgUp: "\x1b[5~", 51 KeyPgDn: "\x1b[6~", 52 KeyF1: "\x1b[11~", 53 KeyF2: "\x1b[12~", 54 KeyF3: "\x1b[13~", 55 KeyF4: "\x1b[14~", 56 KeyF5: "\x1b[15~", 57 KeyF6: "\x1b[17~", 58 KeyF7: "\x1b[18~", 59 KeyF8: "\x1b[19~", 60 KeyF9: "\x1b[20~", 61 KeyF10: "\x1b[21~", 62 KeyF11: "\x1b[23~", 63 KeyF12: "\x1b[24~", 64 KeyF13: "\x1b[25~", 65 KeyF14: "\x1b[26~", 66 KeyF15: "\x1b[28~", 67 KeyF16: "\x1b[29~", 68 KeyF17: "\x1b[31~", 69 KeyF18: "\x1b[32~", 70 KeyF19: "\x1b[33~", 71 KeyF20: "\x1b[34~", 72 KeyF21: "\x1b[23$", 73 KeyF22: "\x1b[24$", 74 KeyF23: "\x1b[11^", 75 KeyF24: "\x1b[12^", 76 KeyF25: "\x1b[13^", 77 KeyF26: "\x1b[14^", 78 KeyF27: "\x1b[15^", 79 KeyF28: "\x1b[17^", 80 KeyF29: "\x1b[18^", 81 KeyF30: "\x1b[19^", 82 KeyF31: "\x1b[20^", 83 KeyF32: "\x1b[21^", 84 KeyF33: "\x1b[23^", 85 KeyF34: "\x1b[24^", 86 KeyF35: "\x1b[25^", 87 KeyF36: "\x1b[26^", 88 KeyF37: "\x1b[28^", 89 KeyF38: "\x1b[29^", 90 KeyF39: "\x1b[31^", 91 KeyF40: "\x1b[32^", 92 KeyF41: "\x1b[33^", 93 KeyF42: "\x1b[34^", 94 KeyF43: "\x1b[23@", 95 KeyF44: "\x1b[24@", 96 KeyBacktab: "\x1b[Z", 97 KeyShfLeft: "\x1b[d", 98 KeyShfRight: "\x1b[c", 99 KeyShfUp: "\x1b[a", 100 KeyShfDown: "\x1b[b", 101 KeyShfHome: "\x1b[7$", 102 KeyShfEnd: "\x1b[8$", 103 KeyShfDelete: "\x1b[3$", 104 KeyCtrlUp: "\x1b[Oa", 105 KeyCtrlDown: "\x1b[Ob", 106 KeyCtrlRight: "\x1b[Oc", 107 KeyCtrlLeft: "\x1b[Od", 108 KeyCtrlHome: "\x1b[7^", 109 KeyCtrlEnd: "\x1b[8^", 110 }) 111 112 // rxvt 2.7.9 with xterm 256-colors 113 terminfo.AddTerminfo(&terminfo.Terminfo{ 114 Name: "rxvt-256color", 115 Columns: 80, 116 Lines: 24, 117 Colors: 256, 118 Bell: "\a", 119 Clear: "\x1b[H\x1b[2J", 120 EnterCA: "\x1b7\x1b[?47h", 121 ExitCA: "\x1b[2J\x1b[?47l\x1b8", 122 ShowCursor: "\x1b[?25h", 123 HideCursor: "\x1b[?25l", 124 AttrOff: "\x1b[m\x0f", 125 Underline: "\x1b[4m", 126 Bold: "\x1b[1m", 127 Blink: "\x1b[5m", 128 Reverse: "\x1b[7m", 129 EnterKeypad: "\x1b=", 130 ExitKeypad: "\x1b>", 131 SetFg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m", 132 SetBg: "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", 133 SetFgBg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;;%?%p2%{8}%<%t4%p2%d%e%p2%{16}%<%t10%p2%{8}%-%d%e48;5;%p2%d%;m", 134 ResetFgBg: "\x1b[39;49m", 135 PadChar: "\x00", 136 AltChars: "``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 137 EnterAcs: "\x0e", 138 ExitAcs: "\x0f", 139 EnableAcs: "\x1b(B\x1b)0", 140 Mouse: "\x1b[M", 141 SetCursor: "\x1b[%i%p1%d;%p2%dH", 142 CursorBack1: "\b", 143 CursorUp1: "\x1b[A", 144 KeyUp: "\x1b[A", 145 KeyDown: "\x1b[B", 146 KeyRight: "\x1b[C", 147 KeyLeft: "\x1b[D", 148 KeyInsert: "\x1b[2~", 149 KeyDelete: "\x1b[3~", 150 KeyBackspace: "\u007f", 151 KeyHome: "\x1b[7~", 152 KeyEnd: "\x1b[8~", 153 KeyPgUp: "\x1b[5~", 154 KeyPgDn: "\x1b[6~", 155 KeyF1: "\x1b[11~", 156 KeyF2: "\x1b[12~", 157 KeyF3: "\x1b[13~", 158 KeyF4: "\x1b[14~", 159 KeyF5: "\x1b[15~", 160 KeyF6: "\x1b[17~", 161 KeyF7: "\x1b[18~", 162 KeyF8: "\x1b[19~", 163 KeyF9: "\x1b[20~", 164 KeyF10: "\x1b[21~", 165 KeyF11: "\x1b[23~", 166 KeyF12: "\x1b[24~", 167 KeyF13: "\x1b[25~", 168 KeyF14: "\x1b[26~", 169 KeyF15: "\x1b[28~", 170 KeyF16: "\x1b[29~", 171 KeyF17: "\x1b[31~", 172 KeyF18: "\x1b[32~", 173 KeyF19: "\x1b[33~", 174 KeyF20: "\x1b[34~", 175 KeyF21: "\x1b[23$", 176 KeyF22: "\x1b[24$", 177 KeyF23: "\x1b[11^", 178 KeyF24: "\x1b[12^", 179 KeyF25: "\x1b[13^", 180 KeyF26: "\x1b[14^", 181 KeyF27: "\x1b[15^", 182 KeyF28: "\x1b[17^", 183 KeyF29: "\x1b[18^", 184 KeyF30: "\x1b[19^", 185 KeyF31: "\x1b[20^", 186 KeyF32: "\x1b[21^", 187 KeyF33: "\x1b[23^", 188 KeyF34: "\x1b[24^", 189 KeyF35: "\x1b[25^", 190 KeyF36: "\x1b[26^", 191 KeyF37: "\x1b[28^", 192 KeyF38: "\x1b[29^", 193 KeyF39: "\x1b[31^", 194 KeyF40: "\x1b[32^", 195 KeyF41: "\x1b[33^", 196 KeyF42: "\x1b[34^", 197 KeyF43: "\x1b[23@", 198 KeyF44: "\x1b[24@", 199 KeyBacktab: "\x1b[Z", 200 KeyShfLeft: "\x1b[d", 201 KeyShfRight: "\x1b[c", 202 KeyShfUp: "\x1b[a", 203 KeyShfDown: "\x1b[b", 204 KeyShfHome: "\x1b[7$", 205 KeyShfEnd: "\x1b[8$", 206 KeyShfDelete: "\x1b[3$", 207 KeyCtrlUp: "\x1b[Oa", 208 KeyCtrlDown: "\x1b[Ob", 209 KeyCtrlRight: "\x1b[Oc", 210 KeyCtrlLeft: "\x1b[Od", 211 KeyCtrlHome: "\x1b[7^", 212 KeyCtrlEnd: "\x1b[8^", 213 }) 214 215 // rxvt 2.7.9 with xterm 88-colors 216 terminfo.AddTerminfo(&terminfo.Terminfo{ 217 Name: "rxvt-88color", 218 Columns: 80, 219 Lines: 24, 220 Colors: 88, 221 Bell: "\a", 222 Clear: "\x1b[H\x1b[2J", 223 EnterCA: "\x1b7\x1b[?47h", 224 ExitCA: "\x1b[2J\x1b[?47l\x1b8", 225 ShowCursor: "\x1b[?25h", 226 HideCursor: "\x1b[?25l", 227 AttrOff: "\x1b[m\x0f", 228 Underline: "\x1b[4m", 229 Bold: "\x1b[1m", 230 Blink: "\x1b[5m", 231 Reverse: "\x1b[7m", 232 EnterKeypad: "\x1b=", 233 ExitKeypad: "\x1b>", 234 SetFg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m", 235 SetBg: "\x1b[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m", 236 SetFgBg: "\x1b[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;;%?%p2%{8}%<%t4%p2%d%e%p2%{16}%<%t10%p2%{8}%-%d%e48;5;%p2%d%;m", 237 ResetFgBg: "\x1b[39;49m", 238 PadChar: "\x00", 239 AltChars: "``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 240 EnterAcs: "\x0e", 241 ExitAcs: "\x0f", 242 EnableAcs: "\x1b(B\x1b)0", 243 Mouse: "\x1b[M", 244 SetCursor: "\x1b[%i%p1%d;%p2%dH", 245 CursorBack1: "\b", 246 CursorUp1: "\x1b[A", 247 KeyUp: "\x1b[A", 248 KeyDown: "\x1b[B", 249 KeyRight: "\x1b[C", 250 KeyLeft: "\x1b[D", 251 KeyInsert: "\x1b[2~", 252 KeyDelete: "\x1b[3~", 253 KeyBackspace: "\u007f", 254 KeyHome: "\x1b[7~", 255 KeyEnd: "\x1b[8~", 256 KeyPgUp: "\x1b[5~", 257 KeyPgDn: "\x1b[6~", 258 KeyF1: "\x1b[11~", 259 KeyF2: "\x1b[12~", 260 KeyF3: "\x1b[13~", 261 KeyF4: "\x1b[14~", 262 KeyF5: "\x1b[15~", 263 KeyF6: "\x1b[17~", 264 KeyF7: "\x1b[18~", 265 KeyF8: "\x1b[19~", 266 KeyF9: "\x1b[20~", 267 KeyF10: "\x1b[21~", 268 KeyF11: "\x1b[23~", 269 KeyF12: "\x1b[24~", 270 KeyF13: "\x1b[25~", 271 KeyF14: "\x1b[26~", 272 KeyF15: "\x1b[28~", 273 KeyF16: "\x1b[29~", 274 KeyF17: "\x1b[31~", 275 KeyF18: "\x1b[32~", 276 KeyF19: "\x1b[33~", 277 KeyF20: "\x1b[34~", 278 KeyF21: "\x1b[23$", 279 KeyF22: "\x1b[24$", 280 KeyF23: "\x1b[11^", 281 KeyF24: "\x1b[12^", 282 KeyF25: "\x1b[13^", 283 KeyF26: "\x1b[14^", 284 KeyF27: "\x1b[15^", 285 KeyF28: "\x1b[17^", 286 KeyF29: "\x1b[18^", 287 KeyF30: "\x1b[19^", 288 KeyF31: "\x1b[20^", 289 KeyF32: "\x1b[21^", 290 KeyF33: "\x1b[23^", 291 KeyF34: "\x1b[24^", 292 KeyF35: "\x1b[25^", 293 KeyF36: "\x1b[26^", 294 KeyF37: "\x1b[28^", 295 KeyF38: "\x1b[29^", 296 KeyF39: "\x1b[31^", 297 KeyF40: "\x1b[32^", 298 KeyF41: "\x1b[33^", 299 KeyF42: "\x1b[34^", 300 KeyF43: "\x1b[23@", 301 KeyF44: "\x1b[24@", 302 KeyBacktab: "\x1b[Z", 303 KeyShfLeft: "\x1b[d", 304 KeyShfRight: "\x1b[c", 305 KeyShfUp: "\x1b[a", 306 KeyShfDown: "\x1b[b", 307 KeyShfHome: "\x1b[7$", 308 KeyShfEnd: "\x1b[8$", 309 KeyShfDelete: "\x1b[3$", 310 KeyCtrlUp: "\x1b[Oa", 311 KeyCtrlDown: "\x1b[Ob", 312 KeyCtrlRight: "\x1b[Oc", 313 KeyCtrlLeft: "\x1b[Od", 314 KeyCtrlHome: "\x1b[7^", 315 KeyCtrlEnd: "\x1b[8^", 316 }) 317 318 // rxvt-unicode terminal (X Window System) 319 terminfo.AddTerminfo(&terminfo.Terminfo{ 320 Name: "rxvt-unicode", 321 Columns: 80, 322 Lines: 24, 323 Colors: 88, 324 Bell: "\a", 325 Clear: "\x1b[H\x1b[2J", 326 EnterCA: "\x1b[?1049h", 327 ExitCA: "\x1b[r\x1b[?1049l", 328 ShowCursor: "\x1b[?12l\x1b[?25h", 329 HideCursor: "\x1b[?25l", 330 AttrOff: "\x1b[m\x1b(B", 331 Underline: "\x1b[4m", 332 Bold: "\x1b[1m", 333 Italic: "\x1b[3m", 334 Blink: "\x1b[5m", 335 Reverse: "\x1b[7m", 336 EnterKeypad: "\x1b=", 337 ExitKeypad: "\x1b>", 338 SetFg: "\x1b[38;5;%p1%dm", 339 SetBg: "\x1b[48;5;%p1%dm", 340 SetFgBg: "\x1b[38;5;%p1%d;48;5;%p2%dm", 341 ResetFgBg: "\x1b[39;49m", 342 AltChars: "+C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 343 EnterAcs: "\x1b(0", 344 ExitAcs: "\x1b(B", 345 Mouse: "\x1b[M", 346 SetCursor: "\x1b[%i%p1%d;%p2%dH", 347 CursorBack1: "\b", 348 CursorUp1: "\x1b[A", 349 KeyUp: "\x1b[A", 350 KeyDown: "\x1b[B", 351 KeyRight: "\x1b[C", 352 KeyLeft: "\x1b[D", 353 KeyInsert: "\x1b[2~", 354 KeyDelete: "\x1b[3~", 355 KeyBackspace: "\u007f", 356 KeyHome: "\x1b[7~", 357 KeyEnd: "\x1b[8~", 358 KeyPgUp: "\x1b[5~", 359 KeyPgDn: "\x1b[6~", 360 KeyF1: "\x1b[11~", 361 KeyF2: "\x1b[12~", 362 KeyF3: "\x1b[13~", 363 KeyF4: "\x1b[14~", 364 KeyF5: "\x1b[15~", 365 KeyF6: "\x1b[17~", 366 KeyF7: "\x1b[18~", 367 KeyF8: "\x1b[19~", 368 KeyF9: "\x1b[20~", 369 KeyF10: "\x1b[21~", 370 KeyF11: "\x1b[23~", 371 KeyF12: "\x1b[24~", 372 KeyF13: "\x1b[25~", 373 KeyF14: "\x1b[26~", 374 KeyF15: "\x1b[28~", 375 KeyF16: "\x1b[29~", 376 KeyF17: "\x1b[31~", 377 KeyF18: "\x1b[32~", 378 KeyF19: "\x1b[33~", 379 KeyF20: "\x1b[34~", 380 KeyBacktab: "\x1b[Z", 381 KeyShfLeft: "\x1b[d", 382 KeyShfRight: "\x1b[c", 383 KeyShfUp: "\x1b[a", 384 KeyShfDown: "\x1b[b", 385 KeyShfHome: "\x1b[7$", 386 KeyShfEnd: "\x1b[8$", 387 KeyShfInsert: "\x1b[2$", 388 KeyShfDelete: "\x1b[3$", 389 KeyCtrlUp: "\x1b[Oa", 390 KeyCtrlDown: "\x1b[Ob", 391 KeyCtrlRight: "\x1b[Oc", 392 KeyCtrlLeft: "\x1b[Od", 393 KeyCtrlHome: "\x1b[7^", 394 KeyCtrlEnd: "\x1b[8^", 395 }) 396 397 // rxvt-unicode terminal with 256 colors (X Window System) 398 terminfo.AddTerminfo(&terminfo.Terminfo{ 399 Name: "rxvt-unicode-256color", 400 Columns: 80, 401 Lines: 24, 402 Colors: 256, 403 Bell: "\a", 404 Clear: "\x1b[H\x1b[2J", 405 EnterCA: "\x1b[?1049h", 406 ExitCA: "\x1b[r\x1b[?1049l", 407 ShowCursor: "\x1b[?12l\x1b[?25h", 408 HideCursor: "\x1b[?25l", 409 AttrOff: "\x1b[m\x1b(B", 410 Underline: "\x1b[4m", 411 Bold: "\x1b[1m", 412 Italic: "\x1b[3m", 413 Blink: "\x1b[5m", 414 Reverse: "\x1b[7m", 415 EnterKeypad: "\x1b=", 416 ExitKeypad: "\x1b>", 417 SetFg: "\x1b[38;5;%p1%dm", 418 SetBg: "\x1b[48;5;%p1%dm", 419 SetFgBg: "\x1b[38;5;%p1%d;48;5;%p2%dm", 420 ResetFgBg: "\x1b[39;49m", 421 AltChars: "+C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~", 422 EnterAcs: "\x1b(0", 423 ExitAcs: "\x1b(B", 424 Mouse: "\x1b[M", 425 SetCursor: "\x1b[%i%p1%d;%p2%dH", 426 CursorBack1: "\b", 427 CursorUp1: "\x1b[A", 428 KeyUp: "\x1b[A", 429 KeyDown: "\x1b[B", 430 KeyRight: "\x1b[C", 431 KeyLeft: "\x1b[D", 432 KeyInsert: "\x1b[2~", 433 KeyDelete: "\x1b[3~", 434 KeyBackspace: "\u007f", 435 KeyHome: "\x1b[7~", 436 KeyEnd: "\x1b[8~", 437 KeyPgUp: "\x1b[5~", 438 KeyPgDn: "\x1b[6~", 439 KeyF1: "\x1b[11~", 440 KeyF2: "\x1b[12~", 441 KeyF3: "\x1b[13~", 442 KeyF4: "\x1b[14~", 443 KeyF5: "\x1b[15~", 444 KeyF6: "\x1b[17~", 445 KeyF7: "\x1b[18~", 446 KeyF8: "\x1b[19~", 447 KeyF9: "\x1b[20~", 448 KeyF10: "\x1b[21~", 449 KeyF11: "\x1b[23~", 450 KeyF12: "\x1b[24~", 451 KeyF13: "\x1b[25~", 452 KeyF14: "\x1b[26~", 453 KeyF15: "\x1b[28~", 454 KeyF16: "\x1b[29~", 455 KeyF17: "\x1b[31~", 456 KeyF18: "\x1b[32~", 457 KeyF19: "\x1b[33~", 458 KeyF20: "\x1b[34~", 459 KeyBacktab: "\x1b[Z", 460 KeyShfLeft: "\x1b[d", 461 KeyShfRight: "\x1b[c", 462 KeyShfUp: "\x1b[a", 463 KeyShfDown: "\x1b[b", 464 KeyShfHome: "\x1b[7$", 465 KeyShfEnd: "\x1b[8$", 466 KeyShfInsert: "\x1b[2$", 467 KeyShfDelete: "\x1b[3$", 468 KeyCtrlUp: "\x1b[Oa", 469 KeyCtrlDown: "\x1b[Ob", 470 KeyCtrlRight: "\x1b[Oc", 471 KeyCtrlLeft: "\x1b[Od", 472 KeyCtrlHome: "\x1b[7^", 473 KeyCtrlEnd: "\x1b[8^", 474 }) 475} 476