-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mac: Improve fonts metrics and line drawing (#55)
* Fix rows selection height * Update after master merge * Rework character width measurements * Keep selection view around * Terminal as an arg * Fix line position * struct TerminalOptions * draw on context * Update list count * Rework draw lines * Use CTLineDraw * Use font maximum advacement to estimate terminal size * Separate TerminalViewDelegate * Adjust line for text (glyphs) only * Fix scrolling * Add bounds check * Update TerminalViewDelegate.swift * Undo whitespace change * Preserve original style * Use the same indentation I use, and spaces before ( and [ * Indentation Co-authored-by: Miguel de Icaza <miguel@gnome.org>
- Loading branch information
1 parent
9889f28
commit 22e7a52
Showing
8 changed files
with
359 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
/Packages | ||
/*.xcodeproj | ||
xcuserdata/ | ||
DerivedData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.