mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-11 11:09:16 +02:00
Move splitlines_like_git to a more appropriate home
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
from typing import List, Optional, Tuple
|
||||
|
||||
from typing import Callable, List, Optional, Tuple
|
||||
|
||||
from .collect import Segment
|
||||
|
||||
def splitlines_like_git(raw: bytes, callback: Callable[[memoryview], None]) -> None: ...
|
||||
|
||||
def split_with_highlights(
|
||||
line: str, truncate_points: List[int], fg_highlights: List[Segment],
|
||||
bg_highlight: Optional[Segment]
|
||||
|
||||
Reference in New Issue
Block a user