Move TypedArrayUtils to common
It belongs here since the renderers will use it
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
* @license MIT
|
* @license MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { fill } from './core/TypedArrayUtils';
|
import { fill } from './common/TypedArrayUtils';
|
||||||
|
|
||||||
export const wcwidth = (function(opts: {nul: number, control: number}): (ucs: number) => number {
|
export const wcwidth = (function(opts: {nul: number, control: number}): (ucs: number) => number {
|
||||||
// extracted from https://www.cl.cam.ac.uk/%7Emgk25/ucs/wcwidth.c
|
// extracted from https://www.cl.cam.ac.uk/%7Emgk25/ucs/wcwidth.c
|
||||||
|
|||||||
Reference in New Issue
Block a user