mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-04 17:55:36 +08:00
Make TerminalRenderer public
I want to use the renderer with a custom canvas without having to render to an Android View which requires a context and all sorts of stuff. Can't currently do that because the renderer is package-private
This commit is contained in:
committed by
Fredrik Fornwall
parent
c2ab5bcd50
commit
9f36ed06b8
@@ -16,7 +16,7 @@ import com.termux.terminal.WcWidth;
|
||||
* <p/>
|
||||
* Saves font metrics, so needs to be recreated each time the typeface or font size changes.
|
||||
*/
|
||||
final class TerminalRenderer {
|
||||
public final class TerminalRenderer {
|
||||
|
||||
final int mTextSize;
|
||||
final Typeface mTypeface;
|
||||
|
Reference in New Issue
Block a user