diff options
author | 2015-08-24 09:51:55 -0700 | |
---|---|---|
committer | 2015-08-24 09:52:39 -0700 | |
commit | 7ec19a5bed3d72fbb64849518129af0f030ba328 (patch) | |
tree | 08da6b32e07e81d52f8b7533ccabda761513fc75 /src/terminal/terminal.cc | |
parent | d1039d779e8629506dd7de9a16cf6022d02187e6 (diff) |
terminal.cc: Remove overly-strong assertion on Unicode fallback
Fixes #667
Diffstat (limited to 'src/terminal/terminal.cc')
-rw-r--r-- | src/terminal/terminal.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/terminal/terminal.cc b/src/terminal/terminal.cc index 2dfa144..3876547 100644 --- a/src/terminal/terminal.cc +++ b/src/terminal/terminal.cc @@ -119,7 +119,10 @@ void Emulator::print( const Parser::Print *act ) if ( combining_cell->contents.size() == 0 ) { /* cell starts with combining character */ - assert( this_cell == combining_cell ); + /* ... but isn't necessarily the target for a new + base character [e.g. start of line], if the + combining character has been cleared with + a sequence like ED ("J") or EL ("K") */ assert( combining_cell->width == 1 ); combining_cell->fallback = true; fb.ds.move_col( 1, true, true ); |