Commit 3575a02
CLEANUP: ansi_term: drop keep_line_pos/2
The stream layer no longer counts escape sequences as columns, so saving
and restoring line_position/2 around every sequence written is redundant.
set_stream/2 keeps the line_position property; it now has no callers in
the system but remains useful for text whose width the stream cannot know.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LmQHEtHoVQ2NH2Zzusvepa1 parent 84084e5 commit 3575a02
2 files changed
Lines changed: 29 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 99 | | |
103 | 100 | | |
104 | 101 | | |
| |||
156 | 153 | | |
157 | 154 | | |
158 | 155 | | |
159 | | - | |
| 156 | + | |
160 | 157 | | |
161 | | - | |
| 158 | + | |
162 | 159 | | |
163 | 160 | | |
164 | 161 | | |
| |||
367 | 364 | | |
368 | 365 | | |
369 | 366 | | |
370 | | - | |
| 367 | + | |
371 | 368 | | |
372 | 369 | | |
373 | 370 | | |
| |||
384 | 381 | | |
385 | 382 | | |
386 | 383 | | |
387 | | - | |
| 384 | + | |
388 | 385 | | |
389 | 386 | | |
390 | 387 | | |
391 | 388 | | |
392 | | - | |
| 389 | + | |
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
| |||
444 | 441 | | |
445 | 442 | | |
446 | 443 | | |
447 | | - | |
448 | | - | |
| 444 | + | |
449 | 445 | | |
450 | | - | |
451 | | - | |
| 446 | + | |
452 | 447 | | |
453 | 448 | | |
454 | 449 | | |
| |||
530 | 525 | | |
531 | 526 | | |
532 | 527 | | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | 528 | | |
550 | 529 | | |
551 | 530 | | |
| |||
568 | 547 | | |
569 | 548 | | |
570 | 549 | | |
571 | | - | |
572 | | - | |
| 550 | + | |
573 | 551 | | |
574 | 552 | | |
575 | 553 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
97 | 118 | | |
0 commit comments